คลาส GCKHLSSegment
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ชั้นเรียนที่มีผู้ช่วยแปลงค่าระหว่าง GCKHLSSegmentFormat
กับ NSString
รับค่า NSObject
เมธอดตัวช่วยแปลงจาก GCKHLSSegmentFormat
เป็น NSString
- การคืนสินค้า
- NSString ค่าสตริงที่สัมพันธ์กับ
GCKHLSSegmentFormat
nil
สำหรับ GCKHLSSegmentFormatUndefined
และค่า enum ที่ไม่ถูกต้อง
- Since
- 4.6.0
เมธอดตัวช่วยแปลงจาก NSString
เป็น GCKHLSSegmentFormat
การเปรียบเทียบนี้ไม่คํานึงถึงตัวพิมพ์เล็กและตัวพิมพ์ใหญ่
- การคืนสินค้า
- GCKHLSSegmentFormat ค่า enum
GCKHLSSegmentFormat
ที่สัมพันธ์กัน GCKHLSSegmentFormatUndefined
สำหรับสตริงที่ไม่ถูกต้อง
- Since
- 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"]]