MethodChannelMusicKit class

Inheritance

Constructors

MethodChannelMusicKit()

Properties

authorizationStatus Future<MusicAuthorizationStatus>
no setteroverride
currentCountryCode Future<String>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isPreparedToPlay Future<bool>
no setteroverride
methodChannel MethodChannel
final
musicPlayerState Future<MusicPlayerState>
no setteroverride
musicSubcriptionEventChannel EventChannel
final
onMusicPlayerStateChanged Stream<MusicPlayerState>
no setteroverride
onPlayerQueueChanged Stream<MusicPlayerQueue>
no setteroverride
onSubscriptionUpdated Stream<MusicSubscription>
no setteroverride
playbackTime Future<double>
no setteroverride
playerQueueEventChannel EventChannel
final
playerStateEventChannel EventChannel
final
repeatMode Future<MusicPlayerRepeatMode>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shuffleMode Future<MusicPlayerShuffleMode>
no setteroverride

Methods

beginSeekingBackward() Future<void>
override
beginSeekingForward() Future<void>
override
endSeeking() Future<void>
override
initialize(String developerToken, {String? musicUserToken}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
override
play() Future<void>
override
prepareToPlay() Future<void>
override
requestAuthorizationStatus() Future<MusicAuthorizationStatus>
override
requestDeveloperToken() Future<String>
override
requestUserToken(String developerToken) Future<String>
override
restartCurrentEntry() Future<void>
override
setQueue(String type, {required ResourceObject item}) Future<void>
override
setQueueWithItems(String type, {required List<ResourceObject>? items, int? startingAt}) Future<void>
override
setRepeatMode(MusicPlayerRepeatMode mode) Future<void>
override
setShuffleMode(MusicPlayerShuffleMode mode) Future<void>
override
skipToNextEntry() Future<void>
override
skipToPreviousEntry() Future<void>
override
stop() Future<void>
override
toggleRepeatMode() Future<MusicPlayerRepeatMode>
override
toggleShuffleMode() Future<MusicPlayerShuffleMode>
override
toString() String
A string representation of this object.
inherited

Operators

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