DeviceKey

Enum for the keys the server is expecting for the device object.

Entries

Link copied to clipboard

The current reported android version.

Link copied to clipboard

The mobile carrier.

Link copied to clipboard

The specific hardware of the device.

Link copied to clipboard

Device resolution as "x".

Link copied to clipboard

The default locale of the device. The format of this key is "en_US" or "language_COUNTRY".

Link copied to clipboard

The device time zone.

Link copied to clipboard

Whether this app has notifications enabled.

Link copied to clipboard

Whether background restrictions exist on the app. This should correspond to android.app.ActivityManager.isBackgroundRestricted

Link copied to clipboard

The Google Advertising ID. Note that this is not collected automatically by the SDK and must be passed in via com.braze.IBraze.setGoogleAdvertisingId

Link copied to clipboard

Google Advertising ID's limit ad-tracking field. Note that when "limit ad tracking" is enabled on the Google Advertising ID, it means that ad tracking should be disabled.

Functions

Link copied to clipboard
fun valueOf(value: String): DeviceKey

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val key: String
Link copied to clipboard
Link copied to clipboard