Call.Callback.OnConnectionEvent(Call, String, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when a Call
receives an event from its associated Connection
or
Conference
.
[Android.Runtime.Register("onConnectionEvent", "(Landroid/telecom/Call;Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnConnectionEvent_Landroid_telecom_Call_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=25)]
public virtual void OnConnectionEvent (Android.Telecom.Call call, string e, Android.OS.Bundle extras);
[<Android.Runtime.Register("onConnectionEvent", "(Landroid/telecom/Call;Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnConnectionEvent_Landroid_telecom_Call_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=25)>]
abstract member OnConnectionEvent : Android.Telecom.Call * string * Android.OS.Bundle -> unit
override this.OnConnectionEvent : Android.Telecom.Call * string * Android.OS.Bundle -> unit
Parameters
- call
- Call
The Call
receiving the event.
- e
- String
- extras
- Bundle
Extras associated with the connection event.
- Attributes
Remarks
Invoked when a Call
receives an event from its associated Connection
or Conference
.
Where possible, the Call should make an attempt to handle Connection
events which are part of the android.telecom.*
namespace. The Call should ignore any events it does not wish to handle. Unexpected events should be handled gracefully, as it is possible that a ConnectionService
has defined its own Connection events which a Call is not aware of.
See Connection#sendConnectionEvent(String, Bundle)
, Conference#sendConferenceEvent(String, Bundle)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.