AudioSessionOperationRestriction enum Null safety

Audio session restriction.

Constants

All → const AudioSessionOperationRestriction

The SDK does not configure the audio session anymore.

@JsonValue(1 << 7)
const AudioSessionOperationRestriction(4)
ConfigureSession → const AudioSessionOperationRestriction

The SDK does not change any setting of the audio session (category, mode, categoryOptions).

@JsonValue(1 << 1)
const AudioSessionOperationRestriction(2)
DeactivateSession → const AudioSessionOperationRestriction

The SDK keeps the audio session active when leaving a channel.

@JsonValue(1 << 2)
const AudioSessionOperationRestriction(3)
None → const AudioSessionOperationRestriction

No restriction, the SDK has full control of the audio session operations.

@JsonValue(0)
const AudioSessionOperationRestriction(0)
SetCategory → const AudioSessionOperationRestriction

The SDK does not change the audio session category.

@JsonValue(1)
const AudioSessionOperationRestriction(1)
values → const List<AudioSessionOperationRestriction>

A constant List of the values in this enum, in order of their declaration.

const List<AudioSessionOperationRestriction>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited