MethodChannelFlutterRadioPlayer class

An implementation of FlutterRadioPlayerPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeVolume(double volume) Future<void>
Change the player volume
override
getDeviceVolumeChangedStream() Stream<DeviceVolumeDataChanged?>
Stream of player volume changes
override
getIsPlayingStream() Stream<bool>
Playback stream
override
getNowPlayingStream() Stream<NowPlayingDataChanged?>
Now playing stream of icy / meta info
override
getVolume() Future<double?>
Get the current volume of the player. Defaults to 0.5 (low: 0, max: 1)
override
initialize(List<Map<String, String>> sources, bool playWhenReady) Future<void>
Initialize flutter radio player
override
jumpToSourceIndex(int index) Future<void>
Jump to source at a index
override
nextSource() Future<void>
Change the next source in the sources index
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pause the media source
override
play() Future<void>
Play the media source
override
playOrPause() Future<void>
Either play or pause depending on the play state
override
previousSource() Future<void>
Change the previous source in the sources index
override
toString() String
A string representation of this object.
inherited

Operators

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