Googlemap.OnInfoWindowClickListener
ממשק התקשרות חזרה לאירועי לחיצה/הקשה בחלון המידע של סמן.
שיטות ציבוריות
מופשט
ציבורי
ריק
onInfoWindowClick
(סמן סמן)
מופעלת בעקבות לחיצה על חלון המידע של הסמן.
ההגדרה הזו נקראת ב-thread של ממשק המשתמש ב-Android.
פרמטרים
מדגיש |
הסמן של חלון המידע שעליו לחץ המשתמש.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-13 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-13 (שעון UTC)."],[[["`GoogleMap.OnInfoWindowClickListener` is an interface to handle click events on a marker's info window."],["It includes a single method, `onInfoWindowClick`, which is triggered when a marker's info window is clicked and provides the clicked marker as a parameter."],["The `onInfoWindowClick` method is executed on the Android UI thread."]]],["The `GoogleMap.OnInfoWindowClickListener` interface handles clicks on a marker's info window. It features one core method, `onInfoWindowClick(Marker marker)`. This method is triggered when an info window is clicked and it receives the `Marker` object associated with the clicked info window as a parameter. This action occurs on the main Android UI thread. Developers can implement this interface to add functionality for when an info window is clicked.\n"]]