Protokol <GCKCastDeviceStatusListener>
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Protokol pemroses untuk menerima notifikasi perubahan status perangkat Transmisi.
- Sejak
- 3,0
Mewarisi <GCKSessionNSObject>.
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveActiveInputStatus: |
|
(GCKActiveInputStatus) |
activeInputStatus |
|
|
| |
|
optional |
Dipanggil saat status input aktif perangkat Transmisi telah berubah.
- Parameters
-
castSession | The Cast session. |
activeInputStatus | The new active input status. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveStandbyStatus: |
|
(GCKStandbyStatus) |
standbyStatus |
|
|
| |
|
optional |
Dipanggil saat status standby perangkat Cast telah berubah.
- Parameters
-
castSession | The Cast session. |
standbyStatus | The new standby status. |
Dipanggil saat status multizona perangkat Cast telah berubah.
- Parameters
-
castSession | The Cast session. |
multizoneStatus | The new multizone status. |
Dipanggil setiap kali perangkat multizona ditambahkan.
- Parameters
-
castSession | The Cast session. |
device | The newly-added multizone device. |
Dipanggil setiap kali perangkat multizona diupdate.
- Parameters
-
castSession | The Cast session. |
device | The updated multizone device. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didRemoveMultizoneDeviceWithID: |
|
(NSString *) |
deviceID |
|
|
| |
|
optional |
Dipanggil setiap kali perangkat multizona dihapus.
- Parameters
-
castSession | The Cast session. |
deviceID | The deviceID of the removed multizone device. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2023-12-01 UTC."],[[["The `GCKCastDeviceStatusListener` protocol allows you to receive notifications about changes in a Cast device's status, such as active input, standby, and multizone status."],["This protocol provides methods to monitor changes to the Cast device's active input, standby status, and multizone status, including the addition, update, and removal of multizone devices."],["Implement this protocol in your application to receive notifications about changes to a Cast device's status, which can be used to update the user interface or trigger other actions in response to device events."],["The methods in this protocol are optional and are called on the main thread."]]],[]]