Extra
class Extra : AbstractSafeParcelable
Represents a single extra element. Not suitable for sending across the wire.
Summary
Public methods
writeToParcel
( dest
:
Parcel
, flags
:
Int
)
Public constructors
<init>
Extra (
key : String ,
type : Int ,
stringExtra : String ? = null ,
booleanExtra : Boolean ? = null ,
intExtra : Int ? = null ,
byteArrayExtra : ByteArray ? = null ,
longExtra : Long ? = null )
Represents a single extra element. Not suitable for sending across the wire.
Public methods
Properties
booleanExtra
val booleanExtra : Boolean ?
The boolean extra value. This should be non-null if and only if type is ExtraType.TYPE_BOOLEAN .
byteArrayExtra
val byteArrayExtra : ByteArray ?
The byte array extra value. This should be non-null if and only if type is ExtraType.TYPE_BYTE_ARRAY .
intExtra
val intExtra : Int ?
The int extra value. This should be non-null if and only if type is ExtraType.TYPE_INT .
longExtra
val longExtra : Long ?
The long extra value. This should be non-null if and only if type is ExtraType.TYPE_LONG .
stringExtra
val stringExtra : String ?
The string extra value. This should be non-null if and only if type is ExtraType.TYPE_STRING .

