GCKMediaTrack 类
继承 NSObject、<NSDuplicate> 和 <NSCoding>。
- (instancetype) initWithIdentifier: |
|
(NSInteger) |
identifier |
contentIdentifier: |
|
(NSString *__nullable) |
contentIdentifier |
contentType: |
|
(NSString *) |
contentType |
type: |
|
(GCKMediaTrackType) |
type |
textSubtype: |
|
(GCKMediaTextTrackSubtype) |
textSubtype |
name: |
|
(NSString *__nullable) |
name |
languageCode: |
|
(NSString *__nullable) |
languageCode |
customData: |
|
(id __nullable) |
customData |
|
|
| |
- (NSString*) contentIdentifier |
|
readnonatomiccopy |
- (NSString*) contentType |
|
readnonatomiccopy |
- (NSString*) languageCode |
|
readnonatomiccopy |
轨道的 RFC 1766 语言代码,可能是 nil
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-12-05。
[null,null,["最后更新时间 (UTC):2022-12-05。"],[[["The `GCKMediaTrack` class represents a media track with properties like identifier, content type, and language."],["Instances of `GCKMediaTrack` are immutable, meaning their properties cannot be changed after creation."],["It provides a designated initializer to create instances with specific property values."],["`GCKMediaTrack` inherits from `NSObject`, `NSCopying`, and `NSCoding`, enabling object copying and archiving."],["Developers can access track information through various read-only properties like `identifier`, `contentType`, `type`, and more."]]],[]]