GCKHLSसेगमेंट क्लास
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐसा क्लास जो GCKHLSSegmentFormat
और NSString
के बीच कन्वर्ज़न करने के लिए हेल्पर देता है.
NSObject को इनहेरिट करता है.
GCKHLSSegmentFormat
से NSString
में बदलने के लिए सहायक तरीका.
- रिटर्न
- NSString स्ट्रिंग वैल्यू जो
GCKHLSSegmentFormat
से जुड़ा है. GCKHLSSegmentFormatUndefined
के लिए nil
और अमान्य Enum वैल्यू.
- से
- 4.6.0
NSString
से GCKHLSSegmentFormat
में बदलने के लिए सहायक तरीका.
तुलना केस-इनसेंसिटिव होती है.
- रिटर्न
- GCKHLSसेगमेंट फ़ॉर्मैट
GCKHLSSegmentFormat
Enum की वैल्यू से जुड़ा. GCKHLSSegmentFormatUndefined
अमान्य स्ट्रिंग के लिए.
- से
- 4.6.0
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["The `GCKHLSSegment` class provides helper methods for converting between `GCKHLSSegmentFormat` and `NSString`."],["`mapHLSSegmentFormatToString:` converts a `GCKHLSSegmentFormat` value to its corresponding `NSString` representation."],["`mapHLSSegmentFormatStringToEnum:` converts an `NSString` representation of a segment format to its corresponding `GCKHLSSegmentFormat` enum value."],["Both helper methods were introduced in version 4.6.0 of the framework."]]],["The `GCKHLSSegment` class provides two helper methods for converting between `GCKHLSSegmentFormat` and `NSString`. `mapHLSSegmentFormatToString:` converts a `GCKHLSSegmentFormat` value to its corresponding string representation, returning `nil` for undefined or invalid values. `mapHLSSegmentFormatStringToEnum:` converts a string to its corresponding `GCKHLSSegmentFormat` enum value, performing a case-insensitive comparison and returning `GCKHLSSegmentFormatUndefined` for invalid strings. These methods were introduced in version 4.6.0.\n"]]