Classe GCKHLSVideoSegment
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Classe qui fournit des assistants permettant de convertir GCKHLSVideoSegmentFormat
en NSString
.
Hérite du NSObject.
Méthode d'assistance permettant de convertir GCKHLSVideoSegmentFormat
en NSString
.
- Renvoie
- NSString : valeur de chaîne correspondant à
GCKHLSVideoSegmentFormat
. nil
pour GCKHLSVideoSegmentFormatUndefined
et valeurs d'énumération non valides.
- Depuis
- 4.6.0
Méthode d'assistance permettant de convertir des GCKHLSVidoeSegmentFormat
to
.
La comparaison n'est pas sensible à la casse.
- Renvoie
- GCKHLSVideoSegmentFormat : valeur d'énumération
GCKHLSVideoSegmentFormat
correspondante. GCKHLSVideoSegmentFormatUndefined
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 `GCKHLSVideoSegment` class provides helper methods for converting between `GCKHLSVideoSegmentFormat` and `NSString`."],["`mapHLSVideoSegmentFormatToString:` converts a `GCKHLSVideoSegmentFormat` enum value to its corresponding string representation."],["`mapHLSVideoSegmentFormatStringToEnum:` converts a string representation of a video segment format to its corresponding `GCKHLSVideoSegmentFormat` enum value."],["These helper methods were introduced in version 4.6.0 of the framework."]]],["The `GCKHLSVideoSegment` class provides methods to convert between `GCKHLSVideoSegmentFormat` and `NSString`. The `mapHLSVideoSegmentFormatToString:` method converts a `GCKHLSVideoSegmentFormat` to its corresponding `NSString` representation, returning `nil` for undefined or invalid values. Conversely, `mapHLSVideoSegmentFormatStringToEnum:` converts an `NSString` to a `GCKHLSVideoSegmentFormat` enum, handling comparisons in a case-insensitive manner and returning `GCKHLSVideoSegmentFormatUndefined` for invalid strings.\n"]]