CustomProvider

class CustomProvider : RealLocationOptions

Use this class to specify that custom LocationProvider implementation should be used.

Parameters

provider

custom LocationProvider implementation.

Types

Link copied to clipboard
class Builder(provider: LocationProvider)

Builder used to create a CustomProvider object.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun isSimulation(): Boolean

Returns whether the locations are being simulated.

Link copied to clipboard
open override fun providerName(): String

Returns location provider class name.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val provider: LocationProvider