Googlemap.OnInfoWindowLongClickListener
ממשק התקשרות חזרה למקרים שבהם המשתמש לוחץ לחיצה ארוכה על חלון המידע של סמן.
שיטות ציבוריות
מופשט
ציבורי
ריק
onInfoWindowLongClick
(סמן סמן)
מופעלת כשהמשתמש מבצע תנועת לחיצה ארוכה על חלון המידע של הסמן.
ההגדרה הזו נקראת ב-thread של ממשק המשתמש ב-Android.
פרמטרים
מדגיש |
הסמן שאליו מעוגן חלון המידע.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-16 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-16 (שעון UTC)."],[[["`GoogleMap.OnInfoWindowLongClickListener` is an interface used to handle long clicks on marker info windows."],["It includes a single method, `onInfoWindowLongClick`, which is triggered when a user long-presses a marker's info window."],["The `onInfoWindowLongClick` method provides the `Marker` object associated with the info window that was long-pressed, enabling developers to take specific actions based on the marker."]]],["The `GoogleMap.OnInfoWindowLongClickListener` interface provides a callback for long-press events on a marker's info window. The core functionality is within the `onInfoWindowLongClick(Marker marker)` method. This method is triggered when a user performs a long-press on the info window and executes on the Android UI thread. The `marker` parameter identifies the specific marker linked to the long-pressed info window.\n"]]