Setup

interface Setup

Access/manage core-related setup

Functions

Link copied to clipboard
Register a persistent location services listener
Link copied to clipboard
Register a listener for role access changes
Link copied to clipboard
Checks whether or not the location services are currently running
Link copied to clipboard
abstract fun getActiveAccessLevelId(propertyId: Int): String
Active access level for a property.
Link copied to clipboard
Get the CoreParams that were used for initialization
Link copied to clipboard
abstract fun getSessionId(): String
Returns a UID which represents the current SDK session
Link copied to clipboard
abstract fun getUserId(): String
Returns a UID which represents the current user
Link copied to clipboard
Retrieves the current user role access mapping.
Link copied to clipboard
abstract fun initialize(@Nullable params: CoreParams, @Nullable callback: CoreApi.CoreInitCallback)
Initialize method that gets the SDK ready.
Link copied to clipboard
abstract fun isInitialized(): Boolean
Returns if Mapsted Positioning API is initialized or not.
Link copied to clipboard
Unregister a persistent location services listener
Link copied to clipboard
Unregister a listener for role access changes
Restricts to reduced background location scanning.
Link copied to clipboard
set listener to get notified when app moves from foreground to background and viceversa.
Link copied to clipboard
abstract fun setUserRoleAccess(@NonNull userRoleAccess: UserRoleAccess)
Sets the current user role access mapping.
Link copied to clipboard
Start location services and foreground service (if not running).
Link copied to clipboard
Stop location services (if running)
Link copied to clipboard
Update the foreground service details (text, icons, return activity)