Permissions enum

Defines the media permissions that can be requested by the application.

  • This enum is used when checking or requesting permissions for accessing audio and/or video devices.

Example

final permissions = await VideoSDK.checkPermissions(
  permissions: Permissions.AUDIO_VIDEO,
);
Inheritance
Available extensions

Values

AUDIO → const Permissions

Permission to access audio input devices (microphone).

Example

Permissions.AUDIO
VIDEO → const Permissions

Permission to access video input devices (camera).

Example

Permissions.VIDEO
AUDIO_VIDEO → const Permissions

Permission to access both audio and video devices.

Example

Permissions.AUDIO_VIDEO

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<Permissions>
A constant List of the values in this enum, in order of their declaration.