@magiclane/maps-sdk
Preparing search index...
GemSdkNativeBase
Class GemSdkNativeBase
Abstract
Index
Constructors
constructor
Properties
init
Has
Been
Done
initialization
Completer
Methods
add
List
ask
For
Location
Permission
call
Create
Bitmap
call
Create
Object
call
Delete
Object
call
Get
Bitmap
call
Get
Image
call
Object
Method
call
Object
Method
Async
call
Object
Method
With
Weak
create
Gem
Image
delete
C
Pointer
free
Native
Pointer
get
Android
Version
get
Object
Weak
Ptr
Count
is
Object
Alive
load
Native
register
Weak
Release
release
safe
Call
Object
Method
With
Weak
set
Lib
Loaded
set
Mouse
In
Focus
to
Native
Pointer
Constructors
constructor
new
GemSdkNativeBase
()
:
GemSdkNativeBase
Returns
GemSdkNativeBase
Properties
Abstract
init
Has
Been
Done
initHasBeenDone
:
boolean
Abstract
initialization
Completer
initializationCompleter
:
Promise
<
void
>
Methods
add
List
addList
(
arg0
:
{
list
:
MarkerWithRenderSettings
[]
;
markerType
?:
MarkerType
;
name
:
string
;
object
:
MapViewMarkerCollections
;
parentMapId
:
any
;
settings
:
MarkerCollectionRenderSettings
;
}
,
)
:
any
Parameters
arg0
:
{
list
:
MarkerWithRenderSettings
[]
;
markerType
?:
MarkerType
;
name
:
string
;
object
:
MapViewMarkerCollections
;
parentMapId
:
any
;
settings
:
MarkerCollectionRenderSettings
;
}
Returns
any
Abstract
ask
For
Location
Permission
askForLocationPermission
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
call
Create
Bitmap
callCreateBitmap
(
width
:
number
,
height
:
number
)
:
number
Parameters
width
:
number
height
:
number
Returns
number
Abstract
call
Create
Object
callCreateObject
(
json
:
string
)
:
any
Parameters
json
:
string
Returns
any
Abstract
call
Delete
Object
callDeleteObject
(
json
:
string
)
:
void
Parameters
json
:
string
Returns
void
call
Get
Bitmap
callGetBitmap
(
id
:
number
,
width
:
number
,
height
:
number
)
:
Uint8Array
Parameters
id
:
number
width
:
number
height
:
number
Returns
Uint8Array
call
Get
Image
callGetImage
(
className
:
string
,
pointerId
:
any
,
width
:
number
,
height
:
number
,
imageType
:
number
,
arg
?:
string
,
)
:
Uint8Array
<
ArrayBufferLike
>
|
null
Parameters
className
:
string
pointerId
:
any
width
:
number
height
:
number
imageType
:
number
Optional
arg
:
string
Returns
Uint8Array
<
ArrayBufferLike
>
|
null
Abstract
call
Object
Method
callObjectMethod
(
json
:
string
)
:
any
Parameters
json
:
string
Returns
any
Abstract
call
Object
Method
Async
callObjectMethodAsync
(
json
:
string
)
:
Promise
<
any
>
Parameters
json
:
string
Returns
Promise
<
any
>
call
Object
Method
With
Weak
callObjectMethodWithWeak
(
object
:
any
,
json
:
string
)
:
any
Parameters
object
:
any
json
:
string
Returns
any
Abstract
create
Gem
Image
createGemImage
(
buffer
:
Uint8Array
,
imgType
:
number
)
:
any
Parameters
buffer
:
Uint8Array
imgType
:
number
Returns
any
Abstract
delete
C
Pointer
deleteCPointer
(
address
:
any
)
:
void
Parameters
address
:
any
Returns
void
free
Native
Pointer
freeNativePointer
(
pointer
:
any
)
:
void
Parameters
pointer
:
any
Returns
void
get
Android
Version
getAndroidVersion
()
:
number
Returns
number
get
Object
Weak
Ptr
Count
getObjectWeakPtrCount
(
objectId
:
any
)
:
number
Parameters
objectId
:
any
Returns
number
Abstract
is
Object
Alive
isObjectAlive
(
objectId
:
any
)
:
boolean
Parameters
objectId
:
any
Returns
boolean
Abstract
load
Native
loadNative
()
:
Promise
<
void
>
Returns
Promise
<
void
>
register
Weak
Release
registerWeakRelease
(
obj
:
any
,
nativeObjectId
:
any
,
timestamp
:
number
)
:
any
Parameters
obj
:
any
nativeObjectId
:
any
timestamp
:
number
Returns
any
Abstract
release
release
()
:
void
Returns
void
safe
Call
Object
Method
With
Weak
safeCallObjectMethodWithWeak
(
object
:
any
,
json
:
string
,
forceSafeThreadSync
:
boolean
,
)
:
any
Parameters
object
:
any
json
:
string
forceSafeThreadSync
:
boolean
Returns
any
set
Lib
Loaded
setLibLoaded
()
:
void
Returns
void
set
Mouse
In
Focus
setMouseInFocus
(
mouseInFocus
:
boolean
,
viewId
:
number
)
:
void
Parameters
mouseInFocus
:
boolean
viewId
:
number
Returns
void
to
Native
Pointer
toNativePointer
(
data
:
Uint8Array
)
:
{
address
:
any
;
length
:
number
}
Parameters
data
:
Uint8Array
Returns
{
address
:
any
;
length
:
number
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
init
Has
Been
Done
initialization
Completer
Methods
add
List
ask
For
Location
Permission
call
Create
Bitmap
call
Create
Object
call
Delete
Object
call
Get
Bitmap
call
Get
Image
call
Object
Method
call
Object
Method
Async
call
Object
Method
With
Weak
create
Gem
Image
delete
C
Pointer
free
Native
Pointer
get
Android
Version
get
Object
Weak
Ptr
Count
is
Object
Alive
load
Native
register
Weak
Release
release
safe
Call
Object
Method
With
Weak
set
Lib
Loaded
set
Mouse
In
Focus
to
Native
Pointer
@magiclane/maps-sdk
Loading...