public class

MapstedMapUiApi.SetupImpl

extends Object
implements MapUiApi.Setup
java.lang.Object
   ↳ com.mapsted.ui.MapstedMapUiApi.SetupImpl

Summary

Public Constructors
SetupImpl(Context context)
Public Methods
void initialize(CustomParams params, MapUiApi.MapUiInitCallback initCallback, CoreApi.LocationServicesCallback locCallback)
Initializes Mapsted SDK.
void initialize(CustomParams params, MapUiApi.MapUiInitCallback initCallback)
Initializes Mapsted SDK.
boolean isInitialized()
Whether the sdk has already initialized or not.
void requestLocationPermissions()
This will request location permissions.
void setAlertProvider(MapUiApi.AlertProvider alertProvider)
Set the current alert provider
void setAppNavigationProvider(MapUiApi.AppNavigationProvider appNavigationProvider)
Set the current alert provider
void setFeedProvider(MapUiApi.FeedProvider feedProvider)
Set the current Location Marketing provider
void setLocationShareProvider(MapUiApi.LocationShareProvider locationShareProvider)
Set the current location share provider
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.ui.MapUiApi.Setup

Public Constructors

public SetupImpl (Context context)

Public Methods

public void initialize (CustomParams params, MapUiApi.MapUiInitCallback initCallback, CoreApi.LocationServicesCallback locCallback)

Initializes Mapsted SDK. It will also initialize other dependent services. Sdk will ask for permission if already not granted. This method will also show other map features like search, floor changer icons etc. For a map without these features, try the other MapstedSdkController::initializeMapstedSDK.

Parameters
params Customizable parameters
initCallback Initialization callback for receiving success and failure
locCallback Callback for when location services have started

public void initialize (CustomParams params, MapUiApi.MapUiInitCallback initCallback)

Initializes Mapsted SDK. It will also initialize other dependent services. Sdk will ask for permission if already not granted. This method will also show other map features like search, floor changer icons etc. For a map without these features, try the other MapstedSdkController::initializeMapstedSDK.

Parameters
params Customizable parameters
initCallback Initialization callback for receiving success and failure

public boolean isInitialized ()

Whether the sdk has already initialized or not.

Returns
  • true|false

public void requestLocationPermissions ()

This will request location permissions. Note that if location permissions have already been given, the request will be ignored. If the MapUiInitCallback is still valid, it will be notified if they are given

public void setAlertProvider (MapUiApi.AlertProvider alertProvider)

Set the current alert provider

Parameters
alertProvider the alert provider

public void setAppNavigationProvider (MapUiApi.AppNavigationProvider appNavigationProvider)

Set the current alert provider

Parameters
appNavigationProvider the app navigation provider

public void setFeedProvider (MapUiApi.FeedProvider feedProvider)

Set the current Location Marketing provider

Parameters
feedProvider the Location Marketing provider

public void setLocationShareProvider (MapUiApi.LocationShareProvider locationShareProvider)

Set the current location share provider

Parameters
locationShareProvider the location share provider