GCKHLS 區隔類別參考資料
總覽
提供輔助程式在 GCKHLSSegmentFormat 和 NSString 之間轉換的類別。
繼承 NSObject。
類別方法摘要 | |
| (nullable NSString *) | + mapHLSSegmentFormatToString: |
從 GCKHLSSegmentFormat 轉換為 NSString 的輔助方法。更多... | |
| (GCKHLSSegmentFormat) | + mapHLSSegmentFormatStringToEnum: |
從 NSString 轉換為 GCKHLSSegmentFormat 的輔助方法。更多... | |
方法詳細資料
| + (nullable NSString *) mapHLSSegmentFormatToString: | (GCKHLSSegmentFormat) | hlsSegmentFormat |
從 GCKHLSSegmentFormat 轉換為 NSString 的輔助方法。
- 傳回
- NSString 與
GCKHLSSegmentFormat相對應的字串值。GCKHLSSegmentFormatUndefined的nil和無效的列舉值。
- 開始時間
- 4.6.0
| + (GCKHLSSegmentFormat) mapHLSSegmentFormatStringToEnum: | (NSString *) | hlsSegmentFormatString |
從 NSString 轉換為 GCKHLSSegmentFormat 的輔助方法。
比較時不區分大小寫。
- 傳回
- GCKHLSSegmentFormat 對應的
GCKHLSSegmentFormat列舉值。GCKHLSSegmentFormatUndefined代表無效字串。
- 開始時間
- 4.6.0