GCKMediaTextTrackStyle 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
指定的初始化程序。
所有属性都是可变的,因此可以在构造后提供。
+ (instancetype) createDefault |
|
|
|
根据系统的字幕设置创建具有默认值的实例。
在版本低于 iOS 7 的系统上,此方法会返回 nil。
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
圆角半径绝对值(以像素为单位)。
某些接收方设备可能不支持此属性。
字体系列;如果无法获取相应字体,则会使用通用字体系列。
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-12-02。"],[[["`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."]]],[]]