GCKHLSVideoSegment 类参考
概览
提供辅助程序在 GCKHLSVideoSegmentFormat 和 NSString 之间进行转换的类。
此类继承 NSObject。
类方法摘要 | |
| (nullable NSString *) | + mapHLSVideoSegmentFormatToString: |
用于从 GCKHLSVideoSegmentFormat 转换为 NSString 的辅助方法。更多... | |
| (GCKHLSVideoSegmentFormat) | + mapHLSVideoSegmentFormatStringToEnum: |
用于从 to GCKHLSVidoeSegmentFormat 进行转换的辅助方法。更多... | |
方法详细信息
| + (nullable NSString *) mapHLSVideoSegmentFormatToString: | (GCKHLSVideoSegmentFormat) | hlsVideoSegmentFormat |
用于从 GCKHLSVideoSegmentFormat 转换为 NSString 的辅助方法。
- 返回
- NSString:与
GCKHLSVideoSegmentFormat对应的字符串值。nil表示GCKHLSVideoSegmentFormatUndefined和无效枚举值。
- 开始时间
- 4.6.0
| + (GCKHLSVideoSegmentFormat) mapHLSVideoSegmentFormatStringToEnum: | (NSString *) | hlsVideoSegmentFormatString |
用于从 to GCKHLSVidoeSegmentFormat 进行转换的辅助方法。
比较不区分大小写。
- 返回
- GCKHLSVideoSegmentFormat:相应的
GCKHLSVideoSegmentFormat枚举值。GCKHLSVideoSegmentFormatUndefined表示无效字符串。
- 开始时间
- 4.6.0