ملف GCKMediaStatus.h
تعدادات GCKMediaPlayerState وGCKMediaPlayerIdlereason.
المزيد...
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKMediaPlayerState) |
|
تعدادات GCKMediaPlayerState وGCKMediaPlayerIdlereason.
أسباب عدم نشاط مشغّل الوسائط
العدّاد |
---|
GCKMediaPlayerIdlereasonNone |
يشير الثابت إلى أنّه ليس للمشغّل حاليًا سبب بعدم النشاط.
|
GCKMediaPlayerIdleWhyFinished |
قيمة مستمرة للإشارة إلى أنّ المشغّل غير نشِط لفترة قصيرة بسبب انتهاء التشغيل.
|
تم إلغاء ميزة GCKMediaPlayerIdleREASON |
يشير إلى أن المشغّل غير نشِط لفترة قصيرة إذ تم إلغاء تشغيله استجابةً لأمر STOP.
|
سبب انقطاع GCKMediaPlayerIdlereason |
مستمر للإشارة إلى أن المشغّل في وضع عدم النشاط بسبب مقاطعة التشغيل بواسطة أمر تحميل.
|
GCKMediaPlayerIdlereasonError |
يشير إلى أن المشغّل غير نشِط لفترة قصيرة بسبب حدوث خطأ في التشغيل.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `GCKMediaStatus` class provides status information about media playback."],["The `GCKMediaPlayerState` enum defines the different playback states of a media player."],["The `GCKMediaPlayerIdleReason` enum defines the reasons why a media player is idle, including finished playback, cancellation, interruption, and error."],["The `GCKMediaStatus.h` file defines these enums and the `GCKMediaStatus` class, allowing developers to manage media status and playback on Google Cast devices."]]],["The core content details the `GCKMediaStatus.h` file, which defines a `GCKMediaStatus` class for media status information. It also outlines the `GCKMediaPlayerIdleReason` enumeration, specifying possible idle states of a media player: `None`, `Finished`, `Cancelled`, `Interrupted`, and `Error`. Additionally it details the functions for `GCKMediaPlayerState` enumeration type. Each idle reason indicates a specific condition under which the media player is inactive, such as completion of playback or encountering an error.\n"]]