GCKHLSVideoSegment Sınıfı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
GCKHLSVideoSegmentFormat
ile NSString
arasında dönüşüm gerçekleştirmek için yardımcılar sağlayan sınıf.
NSObject öğesini devralır.
GCKHLSVideoSegmentFormat
değerinden NSString
değerine dönüştürme işlemine yardımcı olan yardımcı yöntem.
- İlerlemeler
- NSString
GCKHLSVideoSegmentFormat
öğesine karşılık gelen dize değeri. GCKHLSVideoSegmentFormatUndefined
ve geçersiz enum değerleri için nil
.
- yılından beri
- 4.6.0
to
GCKHLSVidoeSegmentFormat
dönüştürme için yardımcı yöntem.
Karşılaştırma büyük/küçük harfe duyarlı değildir.
- İlerlemeler
- GCKHLSVideoSegmentFormat Karşılık gelen
GCKHLSVideoSegmentFormat
sıralama değeri. Geçersiz dize için GCKHLSVideoSegmentFormatUndefined
.
- yılından beri
- 4.6.0
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-02 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]