คลาส GCKVideoInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ชั้นเรียนที่แสดงรายละเอียดรูปแบบวิดีโอ
- Since
- 3.3
รับค่า NSObject, <NSCopying> และ <NSSecureCoding>
ความกว้างของวิดีโอเป็นพิกเซล
ความสูงของวิดีโอเป็นพิกเซล
- (GCKVideoInfoHDRType) hdrType |
|
readnonatomicassign |
ประเภท HDR ที่ใช้ในวิดีโอ หากมี
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eGCKVideoInfo\u003c/code\u003e class provides details about a video's format, such as width, height, and HDR type.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e, available since version 3.3.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewidth\u003c/code\u003e and \u003ccode\u003eheight\u003c/code\u003e properties represent the video dimensions in pixels.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ehdrType\u003c/code\u003e indicates the High Dynamic Range format used in the video, if applicable.\u003c/p\u003e\n"]]],[],null,["# GCKVideoInfo Class\n\n[Properties](#properties) \nGCKVideoInfo Class Reference \n\nOverview\n--------\n\nA class representing video format details.\n\nSince\n: 3.3\n\nInherits NSObject, \\\u003cNSCopying\\\u003e, and \\\u003cNSSecureCoding\\\u003e.\n\n|---------------------|--------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSUInteger | [width](/cast/docs/reference/ios/interface_g_c_k_video_info#a3b8c5d7a371d87945e07bb5e2aed2d54) |\n| | The width of the video, in pixels. [More...](#a3b8c5d7a371d87945e07bb5e2aed2d54) |\n| ||\n| NSUInteger | [height](/cast/docs/reference/ios/interface_g_c_k_video_info#a5bba7f828dffce13fe1e4aa57a629432) |\n| | The height of the video, in pixels. [More...](#a5bba7f828dffce13fe1e4aa57a629432) |\n| ||\n| GCKVideoInfoHDRType | [hdrType](/cast/docs/reference/ios/interface_g_c_k_video_info#a3d55b01e8a5c538cfa2404a48e3e0325) |\n| | The HDR type employed int the video, if any. [More...](#a3d55b01e8a5c538cfa2404a48e3e0325) |\n| ||\n\nProperty Detail\n---------------\n\n|---------------------------------------------------|---------------------|\n| |----------------------| | - (NSUInteger) width | | readnonatomicassign |\n\nThe width of the video, in pixels. \n\n|-----------------------------------------------------|---------------------|\n| |-----------------------| | - (NSUInteger) height | | readnonatomicassign |\n\nThe height of the video, in pixels. \n\n|-------------------------------------------------------------------------|---------------------|\n| |---------------------------------| | - (GCKVideoInfoHDRType) hdrType | | readnonatomicassign |\n\nThe HDR type employed int the video, if any."]]