Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The GCKMediaInformation class stores details about a media item, such as its content ID, stream type, content type, metadata, stream duration, and custom data.
It provides methods to initialize media information objects with or without media tracks and text track styles.
Developers can access properties like contentID, streamType, contentType, metadata, streamDuration, and more to retrieve media information.
It includes methods to find specific media tracks using their track IDs.
The class inherits from NSObject and implements the NSCopying protocol.
[[["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."],[],["The GCKMediaInformation class aggregates data about a media item, including its content ID, stream type, and content type. Key actions include initializing with content details like `contentID`, `streamType`, `contentType`, `metadata`, `streamDuration`, `mediaTracks`, `textTrackStyle`, and `customData`. It also supports legacy initialization, excluding media/text tracks. The class facilitates searching for media tracks by ID, and provides properties for ad breaks, ad break clips, stream duration, and custom data.\n"]]