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):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003eGCKMediaTrack\u003c/code\u003e class represents a media track with properties like identifier, content type, and language.\u003c/p\u003e\n"],["\u003cp\u003eInstances of \u003ccode\u003eGCKMediaTrack\u003c/code\u003e are immutable, meaning their properties cannot be changed after creation.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a designated initializer to create instances with specific property values.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKMediaTrack\u003c/code\u003e inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e, offering functionalities related to object copying and secure coding.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for custom data that can be serialized to JSON.\u003c/p\u003e\n"]]],[],null,[]]