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