GCKMediaTrack 類別
一個類別,代表媒體曲目。
這個物件的執行個體無法變更。
沿用 NSObject、<NSCopy> 和 <NSCoding> 的 NSObject。
- (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
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-12-05 (世界標準時間)。
[null,null,["上次更新時間: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."]]],[]]