GCKHLSVideoSegment Class

  • 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.

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 for GCKHLSVideoSegmentFormatUndefined 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