ConnectionService.OnCreateOutgoingConnectionFailed メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Telecom によって呼び出され、新しい送信ConnectionServiceの作成要求が拒否されたことをConnectionに通知します。
[Android.Runtime.Register("onCreateOutgoingConnectionFailed", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)V", "GetOnCreateOutgoingConnectionFailed_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=26)]
public virtual void OnCreateOutgoingConnectionFailed(Android.Telecom.PhoneAccountHandle? connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest? request);
[<Android.Runtime.Register("onCreateOutgoingConnectionFailed", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)V", "GetOnCreateOutgoingConnectionFailed_Landroid_telecom_PhoneAccountHandle_Landroid_telecom_ConnectionRequest_Handler", ApiSince=26)>]
abstract member OnCreateOutgoingConnectionFailed : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> unit
override this.OnCreateOutgoingConnectionFailed : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> unit
パラメーター
- connectionManagerPhoneAccount
- PhoneAccountHandle
#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)の説明を参照してください。
- request
- ConnectionRequest
送信接続要求。
- 属性
注釈
Telecom によって呼び出され、新しい送信ConnectionServiceの作成要求が拒否されたことをConnectionに通知します。
自己管理型 ConnectionService が新しい発信 Connectionを作成しようとしたときに、Telecom がこの時点で呼び出しを行うことができないと判断した場合に使用されます。
ConnectionServiceは、現時点ではConnectionを行うことができないことをユーザーに通知する責任があります。
詳細については、TelecomManager#isOutgoingCallPermitted(PhoneAccountHandle) を参照してください。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。