Added in API level 29

GroupCallCallback


interface GroupCallCallback
android.telephony.mbms.GroupCallCallback

A callback class for use when the application is in a group call. The middleware will provide updates on the status of the call via this callback.

Summary

Constants
static Int

Indicates broadcast signal strength is not available for this call.

Public methods
open Unit

Broadcast Signal Strength updated.

open Unit
onError(errorCode: Int, message: String?)

Called by the middleware when it has detected an error condition in this group call.

open Unit
onGroupCallStateChanged(state: Int, reason: Int)

Called to indicate this call has changed state.

Constants

SIGNAL_STRENGTH_UNAVAILABLE

Added in API level 29
static val SIGNAL_STRENGTH_UNAVAILABLE: Int

Indicates broadcast signal strength is not available for this call. This may be due to the call no longer being available due to geography or timing (end of service)

Value: -1

Public methods

onBroadcastSignalStrengthUpdated

Added in API level 29
open fun onBroadcastSignalStrengthUpdated(signalStrength: Int): Unit

Broadcast Signal Strength updated. This signal strength is the BROADCAST signal strength which, depending on technology in play and it's deployment, may be stronger or weaker than the traditional UNICAST signal strength. It a simple int from 0-4 for valid levels or SIGNAL_STRENGTH_UNAVAILABLE if broadcast is not available for this call due to timing, geography or popularity.

Parameters
signalStrength Int: Value is between -1 and 4 inclusive