ExtraType

@Retention(value = AnnotationRetention.SOURCE)
@IntDef(value = [1, 2, 3, 5, 4])
public annotation ExtraType


Type of data being passed via this Extra.

Summary

Constants

static final int

Indicates that the extra value is a boolean.

static final int

Indicates that the extra value is a byte array.

static final int

Indicates that the extra value is an integer.

static final int

Indicates that the extra value is a long integer.

static final int

Indicates that the extra value is a string.

Public constructors

Constants

TYPE_BOOLEAN

public static final int TYPE_BOOLEAN = 2

Indicates that the extra value is a boolean.

TYPE_BYTE_ARRAY

public static final int TYPE_BYTE_ARRAY = 4

Indicates that the extra value is a byte array.

TYPE_INT

public static final int TYPE_INT = 3

Indicates that the extra value is an integer.

TYPE_LONG

public static final int TYPE_LONG = 5

Indicates that the extra value is a long integer.

TYPE_STRING

public static final int TYPE_STRING = 1

Indicates that the extra value is a string.

Public constructors

ExtraType

public ExtraType()