GCKHLSSegment Class

GCKHLSSegment Class Reference

Overview

Class that provides helpers to convert between GCKHLSSegmentFormat and NSString.

Inherits NSObject.

Class Method Summary

(nullable NSString *) + mapHLSSegmentFormatToString:
 Helper method to convert from GCKHLSSegmentFormat to NSString. More...
 
(GCKHLSSegmentFormat+ mapHLSSegmentFormatStringToEnum:
 Helper method to convert from NSString to GCKHLSSegmentFormat. More...
 

Method Detail

+ (nullable NSString *) mapHLSSegmentFormatToString: (GCKHLSSegmentFormat hlsSegmentFormat

Helper method to convert from GCKHLSSegmentFormat to NSString.

Returns
NSString The string value corresponding to GCKHLSSegmentFormat. nil for GCKHLSSegmentFormatUndefined and invalid enum values.
Since
4.6.0
+ (GCKHLSSegmentFormat) mapHLSSegmentFormatStringToEnum: (NSString *)  hlsSegmentFormatString

Helper method to convert from NSString to GCKHLSSegmentFormat.

The comparison is case insensitive.

Returns
GCKHLSSegmentFormat The corresponding GCKHLSSegmentFormat enum value. GCKHLSSegmentFormatUndefined for invalid string.
Since
4.6.0