GoogleCastRemoteMediaClientIOSMethodChannel class

iOS-specific implementation of Google Cast remote media client functionality.

Implemented types

Constructors

GoogleCastRemoteMediaClientIOSMethodChannel()
Creates a new iOS remote media client method channel.

Properties

hashCode → int
The hash code for this object.
no setterinherited
mediaStatus → GoggleCastMediaStatus?
Current media status of the remote media client.
no setteroverride
mediaStatusStream → Stream<GoggleCastMediaStatus?>
Stream of media status changes.
no setteroverride
playerPosition → Duration
Current player position.
no setteroverride
playerPositionStream → Stream<Duration>
Stream of player position changes.
no setteroverride
queueHasNextItem → bool
Whether the queue has a next item.
no setteroverride
queueHasPreviousItem → bool
Whether the queue has a previous item.
no setteroverride
queueItems → List<GoogleCastQueueItem>
Current list of queue items.
no setteroverride
queueItemsStream → Stream<List<GoogleCastQueueItem>>
Stream of queue items changes.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadMedia(GoogleCastMediaInformation mediaInfo, {bool autoPlay = true, Duration playPosition = Duration.zero, double playbackRate = 1.0, List<int>? activeTrackIds, String? credentials, String? credentialsType, Map<String, dynamic>? customData}) → Future<void>
Loads media on the remote media client.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → Future<void>
Pauses media playback.
override
play() → Future<void>
Starts or resumes media playback.
override
queueInsertItemAndPlay(GoogleCastQueueItem item, {required int beforeItemWithId}) → Future<void>
Inserts an item into the queue and plays it.
override
queueInsertItems(List<GoogleCastQueueItem> items, {int? beforeItemWithId}) → Future<void>
Inserts items into the queue.
override
queueJumpToItemWithId(int itemId) → Future<void>
Jumps to a specific item in the queue by its ID.
override
queueLoadItems(List<GoogleCastQueueItem> queueItems, {GoogleCastQueueLoadOptions? options}) → Future<void>
Loads queue items on the remote media client.
override
queueNextItem() → Future<void>
Plays the next item in the queue.
override
queuePrevItem() → Future<void>
Plays the previous item in the queue.
override
queueRemoveItemsWithIds(List<int> itemIds) → Future<void>
Removes items from the queue by their IDs.
override
queueReorderItems({required List<int> itemsIds, required int? beforeItemWithId}) → Future<void>
Reorders items in the queue.
override
seek(GoogleCastMediaSeekOption option) → Future<void>
Seeks to a specific position in the media.
override
setActiveTrackIDs(List<int> activeTrackIDs) → Future<void>
Sets the active track IDs.
override
setPlaybackRate(double rate) → Future<void>
Sets the playback rate.
override
setTextTrackStyle(TextTrackStyle textTrackStyle) → Future<void>
Sets the text track style.
override
stop() → Future<void>
Stops media playback.
override
toString() → String
A string representation of this object.
inherited

Operators

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