public class EndpointProfileDemographic extends Object implements com.amazonaws.mobileconnectors.pinpoint.internal.core.util.JSONSerializable
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PLATFORM
Android platform.
|
Constructor and Description |
---|
EndpointProfileDemographic(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAppVersion()
Gets app version.
|
Locale |
getLocale()
Gets locale.
|
String |
getMake()
Gets make.
|
String |
getModel()
Gets model.
|
String |
getPlatform()
Gets platform.
|
String |
getPlatformVersion()
Gets platform version.
|
String |
getTimezone()
Gets timezone.
|
void |
setAppVersion(String appVersion)
Sets app version.
|
void |
setLocale(Locale locale)
Sets locale.
|
void |
setMake(String make)
Sets make.
|
void |
setModel(String model)
Sets model.
|
void |
setPlatform(String platform)
Sets platform.
|
void |
setPlatformVersion(String platformVersion)
Sets platform version.
|
void |
setTimezone(String timezone)
Sets timezone.
|
org.json.JSONObject |
toJSONObject() |
public static final String ENDPOINT_PLATFORM
public EndpointProfileDemographic(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context)
context
- the pinpoint context.public String getMake()
public void setMake(String make)
make
- the makepublic String getModel()
public void setModel(String model)
model
- the modelpublic String getTimezone()
public void setTimezone(String timezone)
timezone
- the timezonepublic Locale getLocale()
public void setLocale(Locale locale)
locale
- the localepublic String getAppVersion()
public void setAppVersion(String appVersion)
appVersion
- the app versionpublic String getPlatform()
public void setPlatform(String platform)
platform
- the platformpublic String getPlatformVersion()
public void setPlatformVersion(String platformVersion)
platformVersion
- the platform versionpublic org.json.JSONObject toJSONObject()
toJSONObject
in interface com.amazonaws.mobileconnectors.pinpoint.internal.core.util.JSONSerializable
Copyright © 2019. All rights reserved.