GCKMediaTrack 类
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
- (nullable instancetype) initWithIdentifier: |
|
(NSInteger) |
identifier |
contentIdentifier: |
|
(nullable NSString *) |
contentIdentifier |
contentType: |
|
(NSString *) |
contentType |
type: |
|
(GCKMediaTrackType) |
type |
textSubtype: |
|
(GCKMediaTextTrackSubtype) |
textSubtype |
name: |
|
(nullable NSString *) |
name |
languageCode: |
|
(nullable NSString *) |
languageCode |
customData: |
|
(nullable id) |
customData |
|
|
| |
- (NSString*) contentIdentifier |
|
readnonatomiccopy |
- (NSString*) contentType |
|
readnonatomiccopy |
- (GCKMediaTrackType) type |
|
readnonatomicassign |
- (NSString*) languageCode |
|
readnonatomiccopy |
曲目的 RFC 1766 语言代码,可能是 nil
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["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 `NSSecureCoding`, offering functionalities related to object copying and secure coding."],["The class includes properties for custom data that can be serialized to JSON."]]],[]]