總覽
代表媒體音軌的類別。
這個物件的例項無法變更。
繼承 NSObject、<NSclone> 和 <NSSecureCoding>。
執行個體方法摘要 | |
(nullable instancetype) | - initWithIdentifier:contentIdentifier:contentType:type:textSubtype:name:languageCode:customData: |
指定初始化器。更多... | |
資源摘要 | |
NSInteger | identifier |
曲目的專屬數字 ID。更多... | |
NSString * | contentIdentifier |
曲目的內容 ID,可以是 nil 。更多... | |
NSString * | contentType |
曲目的內容 (MIME) 類型。更多... | |
GCKMediaTrackType | type |
曲目類型。更多... | |
GCKMediaTextTrackSubtype | textSubtype |
文字軌的子類型;僅適用於文字軌。更多... | |
NSString * | name |
曲目的名稱,可能是 nil 。更多... | |
NSString * | languageCode |
音軌的 RFC 1766 語言代碼,可能為 nil 。更多... | |
id | customData |
自訂資料 (如果有的話)。更多... | |
方法詳細資料
- (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 | |
指定初始化器。
使用指定屬性值建構新的 GCKMediaTrack。可以傳回 nil
值。
資源詳情
|
readnonatomicassign |
曲目的專屬數字 ID。
|
readnonatomiccopy |
曲目的內容 ID,可以是 nil
。
|
readnonatomiccopy |
曲目的內容 (MIME) 類型。
|
readnonatomicassign |
曲目類型。
|
readnonatomicassign |
文字軌的子類型;僅適用於文字軌。
|
readnonatomiccopy |
曲目的名稱,可能是 nil
。
|
readnonatomiccopy |
音軌的 RFC 1766 語言代碼,可能為 nil
。
|
readnonatomicstrong |
自訂資料 (如果有的話)。
必須是可使用 NSJSONSerialization 或 nil
序列化為 JSON 的物件。