總覽
一個類別,代表媒體曲目。
這個物件的執行個體無法變更。
沿用 NSObject、<NSCopy> 和 <NSCoding> 的 NSObject。
執行個體方法摘要 | |
(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 |
自訂資料 (如果有的話)。更多... | |
方法說明
- (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 | |
指定初始化器。
以指定的屬性值建構新的 GCKMediaTrack。
資源詳細資料
|
readnonatomicassign |
測試群組的專屬數字 ID。
|
readnonatomiccopy |
測試群組的內容 ID,可以是 nil
。
|
readnonatomiccopy |
測試群組內容 (MIME) 類型。
|
readnonatomicassign |
音軌類型。
|
readnonatomicassign |
文字軌的子類型;僅適用於文字軌。
|
readnonatomiccopy |
音軌名稱,可能是 nil
。
|
readnonatomiccopy |
測試群組的 RFC 1766 語言代碼,可以是 nil
。
|
readnonatomicstrong |
自訂資料 (如果有的話)。
必須是可使用 NSJSONSerialization 或 nil
序列化為 JSON 的物件。