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