Protokol <GCKDiscoveryManagerListener>
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Protokol pemroses GCKDiscoveryManager.
- Since
- 3,0
Mewarisi <NSObjectNSObject>.
- (void) didStartDiscoveryForDeviceCategory: |
|
(NSString *) |
deviceCategory |
|
|
optional |
Dipanggil saat penemuan telah dimulai untuk kategori perangkat tertentu.
- (void) willUpdateDeviceList |
|
|
|
|
optional |
Dipanggil saat daftar perangkat yang ditemukan akan diperbarui dengan cara tertentu.
- (void) didUpdateDeviceList |
|
|
|
|
optional |
Dipanggil saat daftar perangkat yang ditemukan telah diperbarui.
- (void) didInsertDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Dipanggil saat perangkat yang baru ditemukan dimasukkan ke dalam daftar perangkat.
- Parameters
-
device | The device that was inserted. |
index | The list index at which the device was inserted. |
- (void) didUpdateDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Dipanggil saat perangkat yang ditemukan sebelumnya telah diupdate.
- Parameters
-
device | The device that was updated. |
index | The list index of the device. |
- (void) didUpdateDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
andMoveToIndex: |
|
(NSUInteger) |
newIndex |
|
|
| |
|
optional |
Dipanggil saat perangkat yang ditemukan sebelumnya telah diperbarui dan/atau diurutkan ulang dalam daftar.
- Parameters
-
device | The device that was updated. |
index | The previous list index of the device. |
newIndex | The current list index of the device. |
- (void) didRemoveDeviceAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
Dipanggil saat perangkat yang ditemukan sebelumnya menjadi offline dan telah dihapus dari daftar perangkat.
- Parameters
-
index | The list index of the device that was removed. |
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 2022-12-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]