GCKHLSVideoSegment Class Reference
Overview
Class that provides helpers to convert between GCKHLSVideoSegmentFormat
and NSString
.
Inherits NSObject.
Class Method Summary | |
(nullable NSString *) | + mapHLSVideoSegmentFormatToString: |
Helper method to convert from GCKHLSVideoSegmentFormat to NSString . More... | |
(GCKHLSVideoSegmentFormat) | + mapHLSVideoSegmentFormatStringToEnum: |
Helper method to convert from to GCKHLSVidoeSegmentFormat . More... | |
Method Detail
+ (nullable NSString *) mapHLSVideoSegmentFormatToString: | (GCKHLSVideoSegmentFormat) | hlsVideoSegmentFormat |
Helper method to convert from GCKHLSVideoSegmentFormat
to NSString
.
- Returns
- NSString The string value corresponding to
GCKHLSVideoSegmentFormat
.nil
forGCKHLSVideoSegmentFormatUndefined
and invalid enum values.
- Since
- 4.6.0
+ (GCKHLSVideoSegmentFormat) mapHLSVideoSegmentFormatStringToEnum: | (NSString *) | hlsVideoSegmentFormatString |
Helper method to convert from to
GCKHLSVidoeSegmentFormat
.
The comparison is case insensitive.
- Returns
- GCKHLSVideoSegmentFormat The corresponding
GCKHLSVideoSegmentFormat
enum value.GCKHLSVideoSegmentFormatUndefined
for invalid string.
- Since
- 4.6.0