GCKMediaTrack 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
미디어 트랙을 나타내는 클래스입니다.
이 객체의 인스턴스는 변경할 수 없습니다.
NSObject, <NSCopying>, <NSCoding>을 상속합니다.
- (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 |
트랙의 콘텐츠 식별자입니다(nil
일 수 있음).
- (NSString*) contentType |
|
readnonatomiccopy |
텍스트 트랙의 하위 유형입니다. 텍스트 트랙에만 적용됩니다.
- (NSString*) languageCode |
|
readnonatomiccopy |
트랙의 RFC 1766 언어 코드입니다(nil
일 수 있음).
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[[["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."]]],["The `GCKMediaTrack` class represents an immutable media track with properties like a unique numeric identifier, content identifier, content type (MIME), track type, text subtype, name, language code, and custom data. It provides a designated initializer (`initWithIdentifier`) to construct a new instance, defining all track properties. Each property, including identifier, content, and name, is described. Custom data can be stored, which must be serializable to JSON.\n"]]