FeatureEvents

open class FeatureEvents(val enabled: Boolean, eventType: String) : STWEvent

This class provides a common implementation for handling feature changes.

Parameters

enabled

A boolean value that indicates whether the feature is being enabled or disabled.

eventType

A string value representing the type of messaging settings feature being changed.

init

This is a block of code that is executed when an object of the class is created. In this case, it sets the type property of the STWEvent base class to the eventType parameter that is passed in.

Constructors

Link copied to clipboard
fun FeatureEvents(enabled: Boolean, eventType: String)

Properties

Link copied to clipboard
open val enabled: Boolean

Inherited properties

Link copied to clipboard
val createdAt: Date
Link copied to clipboard
var type: String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard