GoogleMap.CancelableCallback
Antarmuka callback untuk melaporkan saat tugas selesai atau dibatalkan.
Ringkasan Metode Publik
void abstrak
|
onCancel()
Dipanggil saat tugas dibatalkan.
|
void abstrak
|
onFinish()
Dipanggil saat tugas selesai.
|
Metode Publik
void
abstrak publik
onCancel
()
Dipanggil saat tugas dibatalkan.
abstrak
publik
void
onFinish
()
Dipanggil saat tugas selesai.
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 2025-07-08 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-08 UTC."],[[["`GoogleMap.CancelableCallback` is an interface used for receiving updates on the status of a task."],["It provides two methods: `onCancel()` called when a task is canceled and `onFinish()` called when a task is successfully completed."]]],["The `GoogleMap.CancelableCallback` interface provides a way to track the status of a task. It features two methods: `onCancel()` and `onFinish()`. The `onCancel()` method is invoked when the task is canceled. The `onFinish()` method is invoked upon the task's completion. These methods serve as callbacks to report task status.\n"]]