ภาพรวม
คลาสที่เป็นตัวแทนของรายการคำขอที่ส่งไปยังเครื่องรับการแคสต์
สามารถใช้เพื่อแคชเนื้อหาสื่อไว้ล่วงหน้า
- Since
- 4.0
รับค่า NSObject, <NSCopying> และ <NSSecureCoding>
สรุปเมธอดของอินสแตนซ์ | |
| (instancetype) | - initWithURL:protocolType:initialTime:hlsSegmentFormat: |
| เครื่องมือเริ่มต้นที่กำหนด เพิ่มเติม... | |
| (instancetype) | - initWithURL:protocolType: |
| เครื่องมือเริ่มต้นตามสะดวก เพิ่มเติม... | |
สรุปวิธีการของชั้นเรียน | |
| (NSString *) | + mapHLSSegmentFormatToString: |
ผู้ช่วยแปลงจาก GCKHLSSegmentFormat เป็น NSString เพิ่มเติม... | |
| (GCKHLSSegmentFormat) | + mapHLSSegmentFormatStringToEnum: |
ผู้ช่วยแปลงจาก NSString เป็น GCKHLSSegmentFormat เพิ่มเติม... | |
สรุปพร็อพเพอร์ตี้ | |
| NSURL * | mediaURL |
| URL ของเนื้อหาสื่อ เพิ่มเติม... | |
| GCKStreamingProtocolType | protocolType |
| โปรโตคอลการสตรีมสื่อ เพิ่มเติม... | |
| NSTimeInterval | initialTime |
| เวลาแรกที่สื่อจะแคชล่วงหน้า เพิ่มเติม... | |
| GCKHLSSegmentFormat | hlsSegmentFormat |
| รูปแบบกลุ่ม HLS เพิ่มเติม... | |
รายละเอียดของเมธอด
| + (NSString *) mapHLSSegmentFormatToString: | (GCKHLSSegmentFormat) | hlsSegmentFormat |
ผู้ช่วยแปลงจาก GCKHLSSegmentFormat เป็น NSString
- Since
- 4.1
| + (GCKHLSSegmentFormat) mapHLSSegmentFormatStringToEnum: | (NSString *) | hlsSegmentFormatString |
ผู้ช่วยแปลงจาก NSString เป็น GCKHLSSegmentFormat
- Since
- 4.1
| - (instancetype) initWithURL: | (NSURL *) | url | |
| protocolType: | (GCKStreamingProtocolType) | protocolType | |
| initialTime: | (NSTimeInterval) | initialTime | |
| hlsSegmentFormat: | (GCKHLSSegmentFormat) | hlsSegmentFormat | |
เครื่องมือเริ่มต้นที่กำหนด
เริ่มต้น GCKMediaRequestItem ด้วย URL, ประเภทโปรโตคอล, เวลาเริ่มต้น และประเภทกลุ่ม HLS
| - (instancetype) initWithURL: | (NSURL *) | url | |
| protocolType: | (GCKStreamingProtocolType) | protocolType | |
เครื่องมือเริ่มต้นตามสะดวก
เริ่มต้น GCKMediaRequestItem ด้วย URL และประเภทโปรโตคอล และใช้ค่าเริ่มต้นสำหรับพร็อพเพอร์ตี้อื่นๆ
รายละเอียดที่พัก
|
readwritenonatomicstrong |
URL ของเนื้อหาสื่อ
|
readwritenonatomicassign |
โปรโตคอลการสตรีมสื่อ
|
readwritenonatomicassign |
เวลาแรกที่สื่อจะแคชล่วงหน้า
ค่าเริ่มต้นคือ 0.0
|
readwritenonatomicassign |
รูปแบบกลุ่ม HLS
โดยต้องระบุหาก protocolType == GCKStreamingProtocolTypeHLS ค่าเริ่มต้นคือ GCKHLSSegmentFormatUndefined