toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship
/
Fonts
Fonts
open
class
Fonts
Helper class to cache and resolve font families.
Members
Functions
add
Font
Family
Link copied to clipboard
open
fun
addFontFamily
(
@
NonNull
fontFamily
:
String
,
@
NonNull
typeface
:
Typeface
)
Adds a type face for a given font family.
get
Font
Family
Link copied to clipboard
@
Nullable
open
fun
getFontFamily
(
@
NonNull
fontFamily
:
String
)
:
Typeface
Gets the type face for a given font family.
is
System
Font
Link copied to clipboard
open
fun
isSystemFont
(
@
NonNull
fontFamily
:
String
)
:
Boolean
shared
Link copied to clipboard
@
NonNull
open
fun
shared
(
@
NonNull
context
:
Context
)
:
Fonts
Gets the shared fonts instance.