StreetViewPanorama.OnStreetViewPanoramaLongClickListener
公用方法
當使用者在全景上長按手勢時呼叫,但前提是全景的疊加層均未處理該手勢。此方法的實作一律會在主執行緒上叫用。
參數
方向 |
與使用者長按畫面上的點相應的傾斜和方位值。這些值在特定全景內具有絕對值,且與目前的相機方向無關。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-06-16 (世界標準時間)。
[null,null,["上次更新時間:2025-06-16 (世界標準時間)。"],[[["`StreetViewPanorama.OnStreetViewPanoramaLongClickListener` is an interface to handle user long-presses on a Street View panorama."],["The `onStreetViewPanoramaLongClick` method is called when a user long-presses on the panorama, providing the orientation of the point pressed, but only if no overlays handled the event."],["All listener methods are executed on the main thread, ensuring UI updates are handled safely."]]],[]]