TelecomUtil

open class TelecomUtil

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun acceptRingingCall(context: Context)
Link copied to clipboard
open fun callWithAccount(context: Context, uri: Uri, handle: PhoneAccountHandle)
Calls the uri, using the account from the handle
Link copied to clipboard
open fun canPlaceCall(context: Context): Boolean
Link copied to clipboard
Link copied to clipboard
Get active gsm call state.
Link copied to clipboard
open fun handleEmergencyCall(context: Context, @NonNull callUri: Uri): Boolean
Link copied to clipboard
Check if a call is in progress.
Link copied to clipboard
open fun isCallApp(context: Context): Boolean
Check if this app is the default system call app
Link copied to clipboard
open fun isEmergencyNumber(context: Context, @NonNull callUri: Uri): Boolean
Link copied to clipboard
open fun referToSystemDialerApp(context: Context, @NonNull callUri: Uri): Boolean
Link copied to clipboard
open fun tryDetectEmergencyNumber(context: Context, @NonNull callUri: Uri): Optional<Boolean>