GCKMediaInformationBuilder 클래스
    
    
      
    
    
      
      컬렉션을 사용해 정리하기
    
    
      
      내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
새 인스턴스 또는 파생된 GCKMediaInformation 인스턴스를 구성하기 위한 빌더 객체입니다. 
빌더를 사용하여 기존 빌더에서 GCKMediaInformation를 파생할 수 있습니다.
새 GCKMediaInformation를 처음부터 구성하는 데 사용할 수도 있습니다.
- 다음 이후:
 - 4.0 
 
 
NSObject를 상속합니다.
      
        
          | - (instancetype) initWithContentURL:  | 
           | 
          (NSURL *)  | 
          contentURL | 
           | 
        
      
 
지정된 필수 속성과 기본값으로 초기화된 다른 모든 속성을 사용하여 새 GCKMediaInformationBuilder를 구성합니다. 
- Parameters
 - 
  
    | contentURL | The URL of the content to be played. | 
  
   
- 다음 이후:
 - 4.3.4 
 
 
 
      
        
          | - (instancetype) initWithEntity:  | 
           | 
          (NSString *)  | 
          entity | 
           | 
        
      
 
 
      
        
          | - (instancetype) initWithContentID:  | 
           | 
          (NSString *)  | 
          contentID | 
           | 
        
      
 
 
이 스트림의 콘텐츠 ID입니다. 
- Deprecated:
 - 대신 contentURL 및 항목을 사용하세요. 
 
 
 
재생할 콘텐츠의 URL입니다. 
- 다음 이후:
 - 4.3.4 
 
 
 
스트림 유형 
기본값은 GCKMediaStreamTypeBuffered입니다. 
 
 
  
  
      
        
          | - (NSString*) contentType | 
         
       
   | 
  
readwritenonatomiccopy   | 
  
 
 
  
  
      
        
          | - (NSTimeInterval) streamDuration | 
         
       
   | 
  
readwritenonatomicassign   | 
  
 
스트림의 길이(초) 또는 INFINITY(실시간 스트림인 경우)입니다. 
기본값은 0입니다. 
 
 
Google 어시스턴트에서 사용하는 미디어의 딥 링크입니다(있는 경우). 
 
 
  
  
      
        
          | - (NSTimeInterval) startAbsoluteTime | 
         
       
   | 
  
readwritenonatomicassign   | 
  
 
스트림의 시작 시간(에포크 시간의 초 단위) 또는 kGCKInvalidTimeInterval(사용할 수 없는 경우)입니다. 
기본값은 kGCKInvalidTimeInterval입니다.
- 다음 이후:
 - 4.4.1 
 
 
 
HLS 오디오 세그먼트의 형식입니다. 
- 다음 이후:
 - 4.6.0 
 
 
 
HLS 동영상 세그먼트의 형식입니다. 
- 다음 이후:
 - 4.6.0 
 
 
 
 
  
  
  
 
  
    
    
    
  
  
  달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
  최종 업데이트: 2025-07-25(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-25(UTC)"],[],["The `GCKMediaInformationBuilder` class allows constructing new or derived `GCKMediaInformation` instances. To create a new instance, initialize a builder with `initWithContentURL` or `initWithEntity`, set properties like `contentType`, `streamType`, and `metadata`, and then call `build`. To derive from an existing instance, initialize the builder with `initWithMediaInformation`, modify properties such as `contentID` or `streamDuration`, and use `build`. Key properties include `contentURL`, `streamType`, `contentType`, `streamDuration`, `metadata`, and `entity`, that describe the media and their respective values.\n"]]