telephony library Null safety

Classes

ConversationColumn
Represents all the possible parameters for a Conversation
ConversationFilter
ConversationFilterStatement
Filter<T, K>
FilterStatement<T extends Filter, K>
OrderBy
SmsColumn
Represents all the possible parameters for a SMS
SmsConversation
Represents a conversation returned by the query conversation functions getConversations
SmsFilter
Filter to be applied to a SMS query operation.
SmsFilterStatement
SmsMessage
Represents a message returned by one of the query functions such as getInboxSms, getSentSms, getDraftSms
Telephony
A Flutter plugin to use telephony features such as

Extensions

Value

Constants

BACKGROUND_SERVICE_INITIALIZED → const String
"backgroundServiceInitialized"
DEFAULT_CONVERSATION_COLUMNS → const List<ConversationColumn>
[ConversationColumn.SNIPPET, ConversationColumn.THREAD_ID, ConversationColumn.MSG_COUNT]
DEFAULT_SMS_COLUMNS → const List<SmsColumn>
[SmsColumn.ID, SmsColumn.ADDRESS, SmsColumn.BODY, SmsColumn.DATE]
DIAL_PHONE_NUMBER → const String
"dialPhoneNumber"
GET_ALL_CONVERSATIONS → const String
"getAllConversations"
GET_ALL_DRAFT_SMS → const String
"getAllDraftSms"
GET_ALL_INBOX_SMS → const String
"getAllInboxSms"
GET_ALL_SENT_SMS → const String
"getAllSentSms"
GET_CALL_STATE → const String
"getCallState"
GET_CELLULAR_DATA_STATE → const String
"getCellularDataState"
GET_DATA_ACTIVITY → const String
"getDataActivity"
GET_DATA_NETWORK_TYPE → const String
"getDataNetworkType"
GET_NETWORK_OPERATOR → const String
"getNetworkOperator"
GET_NETWORK_OPERATOR_NAME → const String
"getNetworkOperatorName"
GET_PHONE_TYPE → const String
"getPhoneType"
GET_SERVICE_STATE → const String
"getServiceState"
GET_SIGNAL_STRENGTH → const String
"getSignalStrength"
GET_SIM_OPERATOR → const String
"getSimOperator"
GET_SIM_OPERATOR_NAME → const String
"getSimOperatorName"
GET_SIM_STATE → const String
"getSimState"
HANDLE_BACKGROUND_MESSAGE → const String
"handleBackgroundMessage"
INCOMING_SMS_COLUMNS → const List<SmsColumn>
[SmsColumn._(_SmsProjections.ORIGINATING_ADDRESS), SmsColumn._(_SmsProjections.MESSAGE_BODY), SmsColumn._(_SmsProjections.TIMESTAMP), SmsColumn._(_SmsProjections.SERVICE_CENTER_ADDRESS), SmsColumn.STA…
IS_NETWORK_ROAMING → const String
"isNetworkRoaming"
IS_SMS_CAPABLE → const String
"isSmsCapable"
ON_MESSAGE → const String
"onMessage"
OPEN_DIALER → const String
"openDialer"
REQUEST_PHONE_AND_SMS_PERMISSION → const String
"requestPhoneAndSmsPermissions"
REQUEST_PHONE_PERMISSION → const String
"requestPhonePermissions"
REQUEST_SMS_PERMISSION → const String
"requestSmsPermissions"
SEND_MULTIPART_SMS → const String
"sendMultipartSms"
SEND_SMS → const String
"sendSms"
SEND_SMS_INTENT → const String
"sendSmsIntent"
SMS_DELIVERED → const String
"smsDelivered"
SMS_SENT → const String
"smsSent"

Enums

CallState
Represents state of cellular calls.
DataActivity
Represents state of cellular network data activity.
DataState
Represents data connection state.
NetworkType
Represents types of networks for a device.
PhoneType
Represents types of cellular technology supported by a device.
SendStatus
Represents the status of a sms message sent from the device.
ServiceState
Represents state of cellular service.
SignalStrength
Represents the quality of cellular signal.
SimState
Represents state of SIM.
SmsStatus
Represents states of SMS.
SmsType
Represents types of SMS.
Sort
Represents sort order for OrderBy.

Typedefs

MessageHandler = dynamic Function(SmsMessage message)
SmsSendStatusListener = dynamic Function(SendStatus status)