CaptureHandleConfig Class

The capture handle that a page exposes to the applications that capture it (https://w3c.github.io/mediacapture-handle/identity/#dom-capturehandleconfig).

public sealed class CaptureHandleConfig

Constructors

NameDescription
CaptureHandleConfig()

CaptureHandleConfig()

CaptureHandle.cs
public CaptureHandleConfig()

No documentation is available.

Properties

NameDescription
ExposeOriginGets whether the origin of the page is exposed.
HandleGets the handle (at most 1024 characters).
PermittedOriginsGets the origins of the applications that can read the handle (* for all of them).

ExposeOrigin

CaptureHandle.cs

Gets whether the origin of the page is exposed.

public bool ExposeOrigin { get; init; }

Gets the handle (at most 1024 characters).

public string Handle { get; init; }

PermittedOrigins

CaptureHandle.cs

Gets the origins of the applications that can read the handle (* for all of them).

public IReadOnlyList<string> PermittedOrigins { get; init; }