DVProcessAudioFocusBackend class final

A backend for a target with no platform focus to negotiate: always granted, never lost. Arbitration between this application's own players still happens in DVAudioFocus.

Implemented types

Constructors

DVProcessAudioFocusBackend()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
losses → Stream<void>
Fires when the platform takes focus away: an incoming call, another application starting playback.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

abandon() → Future<void>
Gives focus back.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request() → Future<bool>
Asks the platform for focus. False when it refused -- a call in progress, another application holding exclusive focus.
override
toString() → String
A string representation of this object.
inherited

Operators

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