Class WebRuntimeEnvironment
java.lang.Object
com.mparticle.sdk.model.eventprocessing.RuntimeEnvironment
com.mparticle.sdk.model.eventprocessing.WebRuntimeEnvironment
Web Environment
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.eventprocessing.RuntimeEnvironment
RuntimeEnvironment.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBrand()Deprecated.This method delegates to the getter of the userAgent field.getName()intintintintvoidvoidsetBuildId(String buildId) voidsetDeviceCountry(String deviceCountry) voidsetDeviceManufacturer(String deviceManufacturer) voidsetDeviceModel(String deviceModel) voidsetHttpHeaderUserAgent(String httpHeaderUserAgent) Deprecated.This method delegates to the setter of the userAgent field.voidsetIsDayLightSavingsTime(String isDayLightSavingsTime) voidsetIsTablet(Boolean isTablet) voidsetLimitAdTracking(String limitAdTracking) voidsetLocaleCountry(String localeCountry) voidsetLocaleLanguage(String localeLanguage) voidsetMobileCountryCode(String mobileCountryCode) voidsetMobileNetworkCode(String mobileNetworkCode) voidvoidsetNetworkCarrier(String networkCarrier) voidsetNetworkCountry(String networkCountry) voidsetOsVersion(String osVersion) voidsetProduct(String product) voidsetPushToken(String pushToken) voidsetRadioAccessTechnology(String radioAccessTechnology) voidsetScreenDpi(int screenDpi) voidsetScreenHeight(int screenHeight) voidsetScreenWidth(int screenWidth) voidsetUtcOffset(int utcOffset) Methods inherited from class com.mparticle.sdk.model.eventprocessing.RuntimeEnvironment
getClientIpAddress, getIdentities, getSdkVersion, getType, getUserAgent, isDebug, setClientIpAddress, setIdentities, setSdkVersion, setUserAgent
-
Constructor Details
-
WebRuntimeEnvironment
public WebRuntimeEnvironment()
-
-
Method Details
-
getBuildId
-
setBuildId
-
getBrand
-
setBrand
-
getProduct
-
setProduct
-
getName
-
setName
-
getDeviceManufacturer
-
setDeviceManufacturer
-
getOsVersion
-
setOsVersion
-
getDeviceModel
-
setDeviceModel
-
getScreenHeight
public int getScreenHeight() -
setScreenHeight
public void setScreenHeight(int screenHeight) -
getScreenWidth
public int getScreenWidth() -
setScreenWidth
public void setScreenWidth(int screenWidth) -
getScreenDpi
public int getScreenDpi() -
setScreenDpi
public void setScreenDpi(int screenDpi) -
getDeviceCountry
-
setDeviceCountry
-
getLocaleLanguage
-
setLocaleLanguage
-
getLocaleCountry
-
setLocaleCountry
-
getNetworkCountry
-
setNetworkCountry
-
getNetworkCarrier
-
setNetworkCarrier
-
getMobileNetworkCode
-
setMobileNetworkCode
-
getMobileCountryCode
-
setMobileCountryCode
-
getUtcOffset
public int getUtcOffset() -
setUtcOffset
public void setUtcOffset(int utcOffset) -
getHttpHeaderUserAgent
Deprecated.This method delegates to the getter of the userAgent field. Left in for backwards compatibility- Returns:
- the user agent
-
setHttpHeaderUserAgent
Deprecated.This method delegates to the setter of the userAgent field. Left in for backwards compatibility- Parameters:
httpHeaderUserAgent- the user agent to set
-
getPushToken
-
setPushToken
-
getIsTablet
-
setIsTablet
-
getRadioAccessTechnology
-
setRadioAccessTechnology
-
getLimitAdTracking
-
setLimitAdTracking
-
getIsDayLightSavingsTime
-
setIsDayLightSavingsTime
-