toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-layout
/
com.urbanairship.android.layout.property
/
Image
/
Icon
Icon
class
Icon
:
Image
Members
Constructors
Icon
Link copied to clipboard
constructor
(
@
NonNull
drawable
:
Image.Icon.DrawableResource
,
@
NonNull
tint
:
Color
,
scale
:
Float
)
Properties
scale
Link copied to clipboard
val
scale
:
Float
tint
Link copied to clipboard
@
NonNull
@get:
NonNull
val
tint
:
Color
Inherited properties
type
Link copied to clipboard
@
NonNull
@get:
NonNull
val
type
:
Image.Type
Functions
from
Json
Link copied to clipboard
@
NonNull
open
fun
fromJson
(
@
NonNull
json
:
JsonMap
)
:
Image.Icon
get
Drawable
Link copied to clipboard
@
Nullable
open
fun
getDrawable
(
@
NonNull
context
:
Context
,
enabledState
:
Boolean
)
:
Drawable
get
Drawable
Res
Link copied to clipboard
@
DrawableRes
open
fun
getDrawableRes
(
)
:
Int
Inherited functions
from
Json
Link copied to clipboard
@
NonNull
open
fun
fromJson
(
@
NonNull
json
:
JsonMap
)
:
Image