Package com.tomtom.ivi.platform.telecom.api.testing.servicemockextension

Functions

Link copied to clipboard
@MainThread
fun TelecomServiceMock.addCall(call: Call, initialState: CallState = CallState.RINGING)

Adds or update a call.

Link copied to clipboard
@MainThread
fun TelecomServiceMock.defaultInit()

Performs a default initialization of the Telecom service mock which makes the service available.

Link copied to clipboard
fun TelecomServiceMock.updateCall(    callId: CallId,     callState: CallState,     disconnectCause: DisconnectCause? = null)

Updates a call state.