Stay organized with collections Save and categorize content based on your preferences.
Media load request data.
This class is used by load media commands in GCKRemoteMediaClient
for specifying how a receiver application should load media.
To load a single item, the item to load should be specified in mediaInformation
. To load a non-cloud queue, the queue information should be specified in queueData
. Optionally, the information for the first item to play can be specified in mediaInformation
. If the queue is a cloud queue, items
in can be nil
or empty, but entity
needs to be specified, so that the receiver app can fetch the queue from the cloud using entity
. If neither mediaInformation
nor queueData
is specified, load requests will fail without sending to receiver applications.
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
The metadata of media item or queue.
The flag that indicates whether playback starts immediately after loaded.
The default value is @(YES)
.
When loading a queue by specifying the queue items in queueData
, this value overrides the autoplay
of the first GCKMediaQueueItem to be loaded in queueData
. Only when this field is nil
, the autoplay
property of individual GCKMediaQueueItem in queueData
will take effect.
When loading a single item by specifying the mediaInformation
, this field specifies whether the playback should start upon load. If nil
, playback will not start immediately.
The initial playback position.
The default value is kGCKInvalidTimeInterval, which indicates a default playback position. If playing Video-On-Demand streams, it starts from 0; if playing live streams, it starts from live edge.
The playback rate.
The default value is 1
.
An array of integers specifying the active tracks.
The default value is nil
.
Custom application-specific data to pass along with the request.
Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
The user credentials for the media item being loaded.
- (NSString*) atvCredentials readnonatomiccopy - (NSString*) atvCredentialsType readnonatomiccopyExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKMediaLoadRequestData` is used to specify how a Cast receiver application should load media, either a single item or a queue."],["It allows customization of playback, including autoplay, start time, playback rate, and active tracks."],["Developers can include custom application-specific data and user credentials with the request."],["For Android TV receivers, alternate credentials can be provided using `atvCredentials` and `atvCredentialsType`."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4