PermissionStatus

Represents the status of a Permission - e.g. Camera or Microphone.

You can only request permission if the status is NOT_DETERMINED.

Entries

Link copied to clipboard

The app may request permission right now. On iOS this means the permission has never been requested yet. On Android this can also mean the user denied once, but did not select "don't ask again".

Link copied to clipboard

The app is authorized to use said permission and can proceed.

Link copied to clipboard

The permission has been denied by the user. The user must grant it from the system Settings.

Link copied to clipboard

The permission has been restricted, e.g. via parental controls, and can not be requested.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.