GCKHLSSegment クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
GCKHLSSegmentFormat
と NSString
の間の変換用ヘルパーを提供するクラス。
NSObject を継承します。
GCKHLSSegmentFormat
から NSString
に変換するヘルパー メソッド。
- 戻り値
- NSString:
GCKHLSSegmentFormat
に対応する文字列値。GCKHLSSegmentFormatUndefined
と無効な列挙値の場合は nil
。
- 開始:
- 4.6.0
NSString
から GCKHLSSegmentFormat
に変換するヘルパー メソッド。
比較では大文字と小文字が区別されません。
- 戻り値
- GCKHLSSegmentFormat。対応する
GCKHLSSegmentFormat
列挙値。GCKHLSSegmentFormatUndefined
: 無効な文字列の場合。
- 開始:
- 4.6.0
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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"]]