CallEventBroadcastReceiver

abstract class CallEventBroadcastReceiver : BaseEventBroadcastReceiver, CallObserver

A broadcast receiver that receive broadcast when a call starts, ends or ends with error.

Constructors

Link copied to clipboard
fun CallEventBroadcastReceiver()

Functions

Link copied to clipboard
fun abortBroadcast()
Link copied to clipboard
fun clearAbortBroadcast()
Link copied to clipboard
fun getAbortBroadcast(): Boolean
Link copied to clipboard
fun getDebugUnregister(): Boolean
Link copied to clipboard
fun getResultCode(): Int
Link copied to clipboard
fun getResultData(): String
Link copied to clipboard
fun getResultExtras(p0: Boolean): Bundle
Link copied to clipboard
open fun getSentFromPackage(): String?
Link copied to clipboard
open fun getSentFromUid(): Int
Link copied to clipboard
fun goAsync(): BroadcastReceiver.PendingResult
Link copied to clipboard
fun isInitialStickyBroadcast(): Boolean
Link copied to clipboard
fun isOrderedBroadcast(): Boolean
Link copied to clipboard
abstract fun onCallCreated(call: Call)

This function will be called when the ongoing call has been created.

Link copied to clipboard
abstract fun onCallEnded(call: Call)

This function will be called when the ongoing call has ended.

Link copied to clipboard
abstract fun onCallEndedWithError(call: Call, callException: CallException)

This function is called when the ongoing call ends with an error.

Link copied to clipboard
abstract fun onCallStarted(call: Call)

This function will be called when the ongoing call has started.

Link copied to clipboard
open fun peekService(p0: Context, p1: Intent): IBinder
Link copied to clipboard
fun setDebugUnregister(p0: Boolean)
Link copied to clipboard
fun setOrderedHint(p0: Boolean)
Link copied to clipboard
fun setResult(    p0: Int,     p1: String,     p2: Bundle)
Link copied to clipboard
fun setResultCode(p0: Int)
Link copied to clipboard
fun setResultData(p0: String)
Link copied to clipboard
fun setResultExtras(p0: Bundle)

Properties

Link copied to clipboard
val action: String

the action that this receiver handles

Link copied to clipboard
lateinit var context: Context

Application context