Class SubscriptionSettings

Package world.mappable.mapkit.location

java.lang.Object
    ↳ world.mappable.mapkit.location.SubscriptionSettings

class SubscriptionSettings implements Serializable

Summary

Constructors

Signature and Description

SubscriptionSettings(@NonNull UseInBackground useInBackground,
                     @NonNull Purpose purpose)

SubscriptionSettings()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

UseInBackground

getUseInBackground()
If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application.

Purpose

getPurpose()
Defines for what purpose the locations from the subscription will be used.

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

SubscriptionSettings

SubscriptionSettings(@NonNull UseInBackground useInBackground,
                     @NonNull Purpose purpose)


SubscriptionSettings

SubscriptionSettings()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getUseInBackground

@NonNull
UseInBackground getUseInBackground()

If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application.


getPurpose

@NonNull
Purpose getPurpose()

Defines for what purpose the locations from the subscription will be used.

Depending on the purpose, it tries to optimize requests for locations.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)