Gem Surface View
SDK Surface object. If GemSdk wasn't initialized yet then this surface will call GemSdk.initSdkWithDefaults inside of onAttachedToWindow.
A MapView is created by default. To disable this please use the attribute app:createDefaultMapView="false"
This surface is released by default when onDetachedFromWindow is triggered. To disable this please use the attribute app:autoReleaseOnDetachedFromWindow="false"
Types
Data class for custom touch event
Listener interface for visibility changes
Properties
Gem context if created.
Flag that indicates if this instance had been initialized.
Flag that indicates if this instance had been released.
Triggered after the default map view had been created. Will be called on SdkCall.
Triggered on system's GLThread. GemSdk's thread is locked.
Triggered after the screen will handle the current touch event.
Triggered before the screen will handle the current touch event.
Triggered after the screen has been successfully created. Will be called on SdkCall.
Triggered if this surface called GemSdk.initSdkWithDefaults and it returned success. Will be called on SdkCall.
Define a variable to hold the listener
Functions
Releases the default MapView that has been created using attribute "app:createDefaultMapView="true"". You might want to hide this full surface map view and use custom separated views, consider using this.