getLocationsAsync

@AnyThread
open fun getLocationsAsync(    @Nullable query: MPQuery,     @Nullable filter: MPFilter,     @Nullable listener: OnLocationsReadyListener)

Runs a query on all the available locations with optional MPQuery and MPFilter data

Parameters

query

An optional MPQuery

filter

An optional MPFilter

listener

An optional callback with the given query results

Throws

if the SDK hasn't been initialized (by invoking initialize)