GCKHLSVideoSegment 類別

GCKHLSVideoSegment 類別參考資料

總覽

提供輔助程式在 GCKHLSVideoSegmentFormatNSString 之間轉換的類別。

繼承 NSObject。

類別方法摘要

(nullable NSString *) + mapHLSVideoSegmentFormatToString:
 GCKHLSVideoSegmentFormat 轉換為 NSString 的輔助方法。更多...
 
(GCKHLSVideoSegmentFormat+ mapHLSVideoSegmentFormatStringToEnum:
 to GCKHLSVidoeSegmentFormat 轉換的輔助方法。更多...
 

方法詳細資料

+ (nullable NSString *) mapHLSVideoSegmentFormatToString: (GCKHLSVideoSegmentFormat hlsVideoSegmentFormat

GCKHLSVideoSegmentFormat 轉換為 NSString 的輔助方法。

傳回
NSString 與 GCKHLSVideoSegmentFormat 相對應的字串值。GCKHLSVideoSegmentFormatUndefinednil 和無效的列舉值。
開始時間
4.6.0
+ (GCKHLSVideoSegmentFormat) mapHLSVideoSegmentFormatStringToEnum: (NSString *)  hlsVideoSegmentFormatString

to GCKHLSVidoeSegmentFormat 轉換的輔助方法。

比較時不區分大小寫。

傳回
GCKHLSVideoSegmentFormat 對應的 GCKHLSVideoSegmentFormat 列舉值。GCKHLSVideoSegmentFormatUndefined 代表無效字串。
開始時間
4.6.0