Mobile
State
Connection
Declaration
getConnection()
Example
val state:Mobile.State
assertTrue(state.connection.value == ConnectionState.CONNECTED)
// A mobile phone is connected
Getters
Get Mobile property availability information
Declaration
public GetStateAvailability()
Example
// get all property availabilities
val getAvailability = GetStateAvailability()
Get Mobile properties
Declaration
public GetState()
Example
// get all properties
val getState = GetState()