AudioSessionOperationRestriction enum

SDK's operation permissions for Audio Session.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

audioSessionOperationRestrictionNone → const AudioSessionOperationRestriction

0: No restriction. SDK can modify the Audio Session.

audioSessionOperationRestrictionSetCategory → const AudioSessionOperationRestriction

1: SDK cannot change the Audio Session category.

audioSessionOperationRestrictionConfigureSession → const AudioSessionOperationRestriction

2: SDK cannot change the Audio Session category, mode, or categoryOptions.

audioSessionOperationRestrictionDeactivateSession → const AudioSessionOperationRestriction

4: When leaving the channel, the SDK keeps the Audio Session active, for example, to continue audio playback in the background.

audioSessionOperationRestrictionAll → const AudioSessionOperationRestriction

128: Fully restricts the SDK's operation permissions for Audio Session. SDK cannot make any changes to the Audio Session.

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<AudioSessionOperationRestriction>
A constant List of the values in this enum, in order of their declaration.