Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IApsDeviceParametersMap

interface IApsDeviceParametersMap
Extends com.amazon.apmf.IStandard Interface for ApsDeviceParametersMap. It contains the set of values for the aps device inforamtion.

Methods

getHeight()

u32 getHeight()
Provides the current screen height in pixels.

Returns

u32 Pixels of the screen height.

getWidth()

u32 getWidth()
Provides the current screen width in pixels.

Returns

u32 Pixels of the screen width.

getDNT()

bool getDNT()
Provides the “Do Not Track” flag, where 0 = tracking is unrestricted, 1 = do not track.

Returns

bool Boolean value of “Do Not Track” flag.

getIFA()

string getIFA()
Provides the hybrid advertising id of the caller publisher.

Returns

string Hybrid advertising id.

getUA()

string getUA()
Provides name of the HTTP user agent.

Returns

string Name of the HTTP user agent.

getMake()

string getMake()
Provides name of the device manufacturer.

Returns

string Name of the device manufacturer.

getLanguage()

string getLanguage()
Provides the current locale of the device.

Returns

string The current locale of the device.

getModel()

string getModel()
Provides the device model name.

Returns

string Name of the device model.
Last modified on October 29, 2026