GCKUIMediaTrackSelectionViewController Class
Stay organized with collections
Save and categorize content based on your preferences.
A view controller that displays a list of the available text and audio tracks for a given media item.
See GCKUIMediaTrackSelectionViewControllerDelegate for the delegate protocol.
- Since
- 3.0
Inherits UITabBarController.
The delegate that receives selection notifications from the controller.
The media information from which the list of available media tracks will be obtained.
- (NSArray<NSNumber *>*) selectedTrackIDs |
|
readwritenonatomiccopy |
The list of currently selected media track IDs.
Except 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."],[[["`GCKUIMediaTrackSelectionViewController` displays available text and audio tracks for a given media item."],["It inherits from `UITabBarController` and was introduced in version 3.0."],["This view controller allows delegation of selection notifications through the `selectionDelegate` property."],["It uses `mediaInfo` to get the list of available media tracks and `selectedTrackIDs` to manage current selections."]]],["The `GCKUIMediaTrackSelectionViewController` displays available text and audio tracks for a media item. It utilizes a delegate, `selectionDelegate`, to notify of selections. The `mediaInfo` property provides the source for the list of tracks. The `selectedTrackIDs` property maintains an array of currently chosen track IDs. This view controller, inheriting from `UITabBarController`, enables users to view and select tracks for the media currently playing. The component was introduced on version 3.0.\n"]]