Builder

open class Builder

Builds a new MPNetworkOptions object to pass to MapsIndoors

Constructors

Link copied to clipboard
open fun Builder()
Default constructor

Functions

Link copied to clipboard
@NonNull
open fun build(): MPNetworkOptions
Returns a usable MPNetworkOptions to pass to MapsIndoors
Link copied to clipboard
@NonNull
open fun setConnectionTimeout(timeoutMilliseconds: Int): MPNetworkOptions.Builder
Sets the connection timeoutMilliseconds in milliseconds to use for every network request inside the SDK
Link copied to clipboard
@NonNull
open fun setReadTimeout(timeoutMilliseconds: Int): MPNetworkOptions.Builder
Sets the read timeoutMilliseconds in milliseconds to use for every network request inside the SDK