GCKMediaTrack クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
メディア トラックを表すクラス。
このオブジェクトのインスタンスは変更できません。
NSObject、<NSCopying>、<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 |
|
|
| |
指定のイニシャライザ。
指定されたプロパティ値を使用して新しい GCKMediaTrack を作成します。nil
値を返すことができます。
- (NSString*) contentIdentifier |
|
readnonatomiccopy |
トラックのコンテンツ ID(nil
の場合もあります)。
- (NSString*) contentType |
|
readnonatomiccopy |
- (GCKMediaTrackType) type |
|
readnonatomicassign |
テキスト トラックのサブタイプ。テキスト トラックにのみ適用されます。
- (NSString*) languageCode |
|
readnonatomiccopy |
トラックの RFC 1766 言語コード(nil
の場合もあります)。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\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,[]]