IncidentWarningSettings

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Usage

Properties

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
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)