Valet mode
State
Status
Declaration
getStatus()
Example
val state:ValetMode.State
assertTrue(state.status.value == ActiveState.ACTIVE)
// Valet mode is active
Setters
Activate deactivate valet mode
Declaration
public ActivateDeactivateValetMode(ActiveState status)
Example
val activateDeactivateValetMode = ValetMode.ActivateDeactivateValetMode(ActiveState.ACTIVE)
Getters
Get Valet Mode property availability information
Declaration
public GetValetModeAvailability()
Example
// get all property availabilities
val getAvailability = GetValetModeAvailability()
Get valet mode
Declaration
public GetValetMode()
Example
// get all properties
val getState = GetValetMode()