FlutterRadioPlayerPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterRadioPlayerPlatform
- Implementers
Constructors
- FlutterRadioPlayerPlatform()
- Constructs a FlutterRadioPlayerPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeVolume(
double volume) → Future< void> - Change the player volume
-
getDeviceVolumeChangedStream(
) → Stream< DeviceVolumeDataChanged?> - Stream of player volume changes
-
getIsPlayingStream(
) → Stream< bool> - Playback stream
-
getNowPlayingStream(
) → Stream< NowPlayingDataChanged?> - Now playing stream of icy / meta info
-
getVolume(
) → Future< double?> - Get the current volume of the player. Defaults to 0.5 (low: 0, max: 1)
-
initialize(
List< Map< sources, bool playWhenReady) → Future<String, String> >void> - Initialize flutter radio player
-
jumpToSourceIndex(
int index) → Future< void> - Jump to source at a index
-
nextSource(
) → Future< void> - Change the next source in the sources index
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> - Pause the media source
-
play(
) → Future< void> - Play the media source
-
playOrPause(
) → Future< void> - Either play or pause depending on the play state
-
previousSource(
) → Future< void> - Change the previous source in the sources index
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterRadioPlayerPlatform
-
The default instance of FlutterRadioPlayerPlatform to use.
getter/setter pair