IncidentWarningSettings

open class IncidentWarningSettings : Parcelable

Constructors

Link copied to clipboard
open fun IncidentWarningSettings()

Types

Link copied to clipboard
annotation class Usage

Functions

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

Properties

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