AI-generated Key Takeaways
-
GCKHLSVideoSegment is a class that provides helper methods to convert between GCKHLSVideoSegmentFormat and NSString.
-
It includes a class method
mapHLSVideoSegmentFormatToString:to convert GCKHLSVideoSegmentFormat to NSString. -
It includes a class method
mapHLSVideoSegmentFormatStringToEnum:to convert NSString to GCKHLSVideoSegmentFormat.
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.nilforGCKHLSVideoSegmentFormatUndefinedand 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
GCKHLSVideoSegmentFormatenum value.GCKHLSVideoSegmentFormatUndefinedfor invalid string.
- Since
- 4.6.0