Classe GCKHLSSegment
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Classe qui fournit des assistants permettant de convertir GCKHLSSegmentFormat
en NSString
.
Hérite du NSObject.
Méthode d'assistance permettant de convertir GCKHLSSegmentFormat
en NSString
.
- Renvoie
- NSString : valeur de chaîne correspondant à
GCKHLSSegmentFormat
. nil
pour GCKHLSSegmentFormatUndefined
et valeurs d'énumération non valides.
- Depuis
- 4.6.0
Méthode d'assistance permettant de convertir NSString
en GCKHLSSegmentFormat
.
La comparaison n'est pas sensible à la casse.
- Renvoie
- GCKHLSSegmentFormat : valeur d'énumération
GCKHLSSegmentFormat
correspondante. GCKHLSSegmentFormatUndefined
pour une chaîne non valide.
- Depuis
- 4.6.0
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/12/02 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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"]]