Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
GCKMediaTextTrackStyle is a class that manages the style of text media tracks, inheriting from NSObject, NSCopying, and NSSecureCoding.
It offers customization options like font scale, colors (foreground, background, edge, window), edge type, window type, font family, style, and rounded corner radius for the window.
You can initialize an instance with default values based on system settings using createDefault or customize properties after initializing with init.
Some attributes like windowType, windowColor, and windowRoundedCornerRadius might not be supported by all receiver devices.
customData property allows developers to associate any custom data with the text track style.
[[["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 `GCKMediaTextTrackStyle` class manages the styling of text media tracks. It allows for creating text track styles with customizable properties. You can initialize a new style or create a default style based on system settings. Properties include: font scaling, foreground/background/edge/window colors, edge and window types, rounded corner radius for the window, font family, generic font family, font style, and custom data. All properties are mutable after initialization.\n"]]