فئة GCKHLSVideosegment
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
صف يوفّر أدوات مساعدة للتحويل بين GCKHLSVideoSegmentFormat
وNSString
.
تكتسب NSObject.
طريقة مساعدة للتحويل من GCKHLSVideoSegmentFormat
إلى NSString
- المرتجعات
- NSString قيمة السلسلة المقابلة لـ
GCKHLSVideoSegmentFormat
. nil
في GCKHLSVideoSegmentFormatUndefined
وقيم تعداد غير صالحة.
- منذ
- 4.6.0
طريقة مساعدة للتحويل من to
GCKHLSVidoeSegmentFormat
.
المقارنة غير حساسة لحالة الأحرف.
- المرتجعات
- GCKHLSVideosegmentFormat قيمة تعداد
GCKHLSVideoSegmentFormat
المقابلة. القيمة GCKHLSVideoSegmentFormatUndefined
للسلسلة غير الصالحة.
- منذ
- 4.6.0
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003eGCKHLSVideoSegment\u003c/code\u003e class provides helper methods for converting between \u003ccode\u003eGCKHLSVideoSegmentFormat\u003c/code\u003e and \u003ccode\u003eNSString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emapHLSVideoSegmentFormatToString:\u003c/code\u003e converts a \u003ccode\u003eGCKHLSVideoSegmentFormat\u003c/code\u003e enum value to its corresponding string representation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emapHLSVideoSegmentFormatStringToEnum:\u003c/code\u003e converts a string representation of a video segment format to its corresponding \u003ccode\u003eGCKHLSVideoSegmentFormat\u003c/code\u003e enum value.\u003c/p\u003e\n"],["\u003cp\u003eThese helper methods were introduced in version 4.6.0 of the framework.\u003c/p\u003e\n"]]],["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"],null,[]]