Googlemap.SnapshotמוכןCallback
ממשק התקשרות חזרה לקבלת התראה כאשר התמונה צולמה.
שיטות ציבוריות
אובייקט
מופשט גלוי לכולם
onSnapshotReady
(תמונת מצב של מפת סיביות)
מופעלת לאחר צילום תמונת המצב.
ההגדרה הזו נקראת ב-thread של ממשק המשתמש ב-Android.
פרמטרים
תמונת מצב |
מפת סיביות שמכילה את המפה כפי שהיא מעובדת כרגע, או null אם לא ניתן לצלם את תמונת המצב.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-13 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-13 (שעון UTC)."],[[["`GoogleMap.SnapshotReadyCallback` is an interface used to receive a snapshot of the map."],["The `onSnapshotReady` method is called when the snapshot is ready, providing a Bitmap of the map or null if it failed."],["This callback happens on the Android UI thread."]]],["The `GoogleMap.SnapshotReadyCallback` interface notifies when a map snapshot is ready. It features the `onSnapshotReady` method, which is invoked on the UI thread. This method receives a `Bitmap` object representing the taken map snapshot. If the snapshot process fails, the `Bitmap` parameter will be `null`. Developers use this interface to act upon successful or failed map snapshot attempts.\n"]]