kotlin-sdk
common-android
/
com.amplitude.common.android
/
AndroidContextProvider
Android
Context
Provider
class
AndroidContextProvider
(
context
:
Context
,
locationListening
:
Boolean
)
:
ContextProvider
Content copied to clipboard
Types
Functions
Properties
Types
Cached
Info
Link copied to clipboard
inner
class
CachedInfo
Content copied to clipboard
Internal class serves as a cache
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
is
Google
Play
Services
Enabled
Link copied to clipboard
fun
isGooglePlayServicesEnabled
(
)
:
Boolean
Content copied to clipboard
is
Limit
Ad
Tracking
Enabled
Link copied to clipboard
fun
isLimitAdTrackingEnabled
(
)
:
Boolean
Content copied to clipboard
prefetch
Link copied to clipboard
fun
prefetch
(
)
Content copied to clipboard
Properties
advertisingId
Link copied to clipboard
val
advertisingId
:
String
?
Content copied to clipboard
appSetId
Link copied to clipboard
val
appSetId
:
String
?
Content copied to clipboard
brand
Link copied to clipboard
val
brand
:
String
Content copied to clipboard
carrier
Link copied to clipboard
val
carrier
:
String
?
Content copied to clipboard
country
Link copied to clipboard
val
country
:
String
?
Content copied to clipboard
isLocationListening
Link copied to clipboard
var
isLocationListening
:
Boolean
=
true
Content copied to clipboard
language
Link copied to clipboard
val
language
:
String
Content copied to clipboard
manufacturer
Link copied to clipboard
val
manufacturer
:
String
Content copied to clipboard
model
Link copied to clipboard
val
model
:
String
Content copied to clipboard
mostRecentLocation
Link copied to clipboard
val
mostRecentLocation
:
Location
?
Content copied to clipboard
osName
Link copied to clipboard
val
osName
:
String
Content copied to clipboard
osVersion
Link copied to clipboard
val
osVersion
:
String
Content copied to clipboard
versionName
Link copied to clipboard
val
versionName
:
String
?
Content copied to clipboard