Class CameraError
- Namespace
- NuvTools.AspNetCore.Blazor.Components
- Assembly
- NuvTools.AspNetCore.Blazor.dll
Reason why the camera could not be started.
public sealed record CameraError : IEquatable<CameraError>
- Inheritance
-
CameraError
- Implements
- Inherited Members
Constructors
CameraError(string, string)
Reason why the camera could not be started.
public CameraError(string Name, string Message)
Parameters
NamestringThe DOMException name reported by the browser — typically
NotAllowedError(permission denied),NotFoundError(no camera),NotReadableError(camera in use by another application) orOverconstrainedError(no camera matches the requested constraints).MessagestringThe message reported by the browser, in the browser's own language.
Properties
Message
The message reported by the browser, in the browser's own language.
public string Message { get; init; }
Property Value
Name
The DOMException name reported by the browser — typically NotAllowedError (permission denied),
NotFoundError (no camera), NotReadableError (camera in use by another application) or
OverconstrainedError (no camera matches the requested constraints).
public string Name { get; init; }