Mapsted Android SDK 26.8.1
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Mapsted Android SDK 26.8.1
android-sdk-core
/
com.mapsted.positioning.core.network
/
WebApiClient
Web
Api
Client
open
class
WebApiClient
Client to do API calls.
Members
Constructors
Web
Api
Client
Link copied to clipboard
constructor
(
context
:
Context
)
Types
Byte
Response
Link copied to clipboard
open
class
ByteResponse
Cache
Interceptor
Link copied to clipboard
open
class
CacheInterceptor
:
Interceptor
Media
Types
Link copied to clipboard
open
class
MediaTypes
Properties
MAPSTED_
NAV_
AUTH_
HEADER_
KEY
Link copied to clipboard
val
MAPSTED_NAV_AUTH_HEADER_KEY
:
String
=
"Authorization"
ok
Http
Client
Link copied to clipboard
open
val
okHttpClient
:
OkHttpClient
Functions
build
Auth
Certificate
Pinner
Link copied to clipboard
open
fun
buildAuthCertificatePinner
(
)
:
CertificatePinner
Builds the
CertificatePinner
scoped to the auth host(s) only.
close
Cache
Link copied to clipboard
open
fun
closeCache
(
)
get
Authorization
Header
Link copied to clipboard
open
fun
getAuthorizationHeader
(
licenseKey
:
String
)
:
String
* Returns the authorization HTTP header value
is
Auth
Host
Link copied to clipboard
open
fun
isAuthHost
(
@
Nullable
url
:
String
)
:
Boolean
post
Compressed
Bytes
Link copied to clipboard
open
fun
postCompressedBytes
(
url
:
String
,
data
:
Array
<
Byte
>
)
:
WebApiClient.ByteResponse
Post call sending a byte array and returning a string response.