PermissionDescriptor Class

The descriptor of a permission (https://w3c.github.io/permissions/#dom-permissiondescriptor): the name of a powerful feature (e.g. geolocation, notifications, camera).

public sealed class PermissionDescriptor

Constructors

NameDescription
PermissionDescriptor()

PermissionDescriptor()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PermissionDescriptor()

No documentation is available.

Properties

NameDescription
NameGets the name of the powerful feature.

Gets the name of the powerful feature.

public required string Name { get; init; }