Call.Callback.OnRttInitiationFailure(Call, RttSessionModifyResult) 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 the RTT session failed to initiate for some reason, including rejection by the remote party.
[Android.Runtime.Register("onRttInitiationFailure", "(Landroid/telecom/Call;I)V", "GetOnRttInitiationFailure_Landroid_telecom_Call_IHandler", ApiSince=26)]
public virtual void OnRttInitiationFailure (Android.Telecom.Call call, Android.Telecom.RttSessionModifyResult reason);
[<Android.Runtime.Register("onRttInitiationFailure", "(Landroid/telecom/Call;I)V", "GetOnRttInitiationFailure_Landroid_telecom_Call_IHandler", ApiSince=26)>]
abstract member OnRttInitiationFailure : Android.Telecom.Call * Android.Telecom.RttSessionModifyResult -> unit
override this.OnRttInitiationFailure : Android.Telecom.Call * Android.Telecom.RttSessionModifyResult -> unit
Parameters
- call
- Call
The call which the RTT initiation failure occurred on.
- reason
- RttSessionModifyResult
One of the status codes defined in
android.telecom.Connection.RttModifyStatus
, with the exception of
android.telecom.Connection.RttModifyStatus#SESSION_MODIFY_REQUEST_SUCCESS
.
- Attributes
Remarks
Invoked when the RTT session failed to initiate for some reason, including rejection by the remote party.
This callback will ONLY be invoked to report a failure related to a user initiated session modification request (i.e. Call#sendRttRequest()
).
If a call is initiated with TelecomManager#EXTRA_START_CALL_WITH_RTT
specified, the availability of RTT can be determined by checking Details#PROPERTY_RTT
once the call enters state Details#STATE_ACTIVE
.
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.