IncidentWarningSettings

open class IncidentWarningSettings : Parcelable

Constructors

IncidentWarningSettings
Link copied to clipboard
open fun IncidentWarningSettings()

Types

Usage
Link copied to clipboard
annotation class Usage

Functions

describeContents
Link copied to clipboard
open fun describeContents(): Int
getImageOffset
Link copied to clipboard
open fun getImageOffset(): PointF
getIncidentImages
Link copied to clipboard
open fun getIncidentImages(): Map<String, IncidentWarningSettings.IncidentImages>
Get map of images to be displayed for incident types.
getUsage
Link copied to clipboard
open fun getUsage(): Int
setImageOffset
Link copied to clipboard
open fun setImageOffset(x: Float, y: Float)
setIncidentImage
Link copied to clipboard
open fun setIncidentImage(type: String, @NonNull image: BitmapFactory)
Set custom image to display for given incident type.
setIncidentImages
Link copied to clipboard
open fun setIncidentImages(type: String, general: BitmapFactory, premium: BitmapFactory)
Set custom general and premium images to display for given incident type.
setUsage
Link copied to clipboard
open fun setUsage(usage: Int)
writeToParcel
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)

Properties

CREATOR
Link copied to clipboard
val CREATOR: Parcelable.Creator<IncidentWarningSettings>