Table of Contents

Class CameraDevice

Namespace
NuvTools.AspNetCore.Blazor.Components
Assembly
NuvTools.AspNetCore.Blazor.dll

A video input device available to the browser.

public sealed record CameraDevice : IEquatable<CameraDevice>
Inheritance
CameraDevice
Implements
Inherited Members

Constructors

CameraDevice(string, string?)

A video input device available to the browser.

public CameraDevice(string DeviceId, string? Label)

Parameters

DeviceId string

The identifier to pass to SwitchDeviceAsync.

Label string

The device name. Browsers only fill it in after the user has granted camera permission at least once — before that it comes back empty.

Properties

DeviceId

The identifier to pass to SwitchDeviceAsync.

public string DeviceId { get; init; }

Property Value

string

Label

The device name. Browsers only fill it in after the user has granted camera permission at least once — before that it comes back empty.

public string? Label { get; init; }

Property Value

string