SipManager.Open メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Open(SipProfile) |
汎用 SIP 呼び出しを行うプロファイルを開きます。 |
Open(SipProfile, PendingIntent, ISipRegistrationListener) |
呼び出しを行ったり、汎用 SIP 呼び出しを受信したりするためのプロファイルを開きます。 |
Open(SipProfile)
汎用 SIP 呼び出しを行うプロファイルを開きます。
[Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;)V", "GetOpen_Landroid_net_sip_SipProfile_Handler")]
public virtual void Open (Android.Net.Sip.SipProfile? localProfile);
[<Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;)V", "GetOpen_Landroid_net_sip_SipProfile_Handler")>]
abstract member Open : Android.Net.Sip.SipProfile -> unit
override this.Open : Android.Net.Sip.SipProfile -> unit
パラメーター
- localProfile
- SipProfile
から呼び出す SIP プロファイル
- 属性
例外
プロファイルに正しくない設定が含まれている場合、または SIP サービスを呼び出すとエラーが発生する
注釈
汎用 SIP 呼び出しを行うプロファイルを開きます。 呼び出し元は、 を介して後続の呼び出しを #makeAudioCall
行うことができます。 プロファイルで呼び出しを受信する場合は、代わりに を使用 #open(SipProfile, PendingIntent, SipRegistrationListener)
します。
の Java ドキュメント android.net.sip.SipManager.open(android.net.sip.SipProfile)
。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
Open(SipProfile, PendingIntent, ISipRegistrationListener)
呼び出しを行ったり、汎用 SIP 呼び出しを受信したりするためのプロファイルを開きます。
[Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;Landroid/app/PendingIntent;Landroid/net/sip/SipRegistrationListener;)V", "GetOpen_Landroid_net_sip_SipProfile_Landroid_app_PendingIntent_Landroid_net_sip_SipRegistrationListener_Handler")]
public virtual void Open (Android.Net.Sip.SipProfile? localProfile, Android.App.PendingIntent? incomingCallPendingIntent, Android.Net.Sip.ISipRegistrationListener? listener);
[<Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;Landroid/app/PendingIntent;Landroid/net/sip/SipRegistrationListener;)V", "GetOpen_Landroid_net_sip_SipProfile_Landroid_app_PendingIntent_Landroid_net_sip_SipRegistrationListener_Handler")>]
abstract member Open : Android.Net.Sip.SipProfile * Android.App.PendingIntent * Android.Net.Sip.ISipRegistrationListener -> unit
override this.Open : Android.Net.Sip.SipProfile * Android.App.PendingIntent * Android.Net.Sip.ISipRegistrationListener -> unit
パラメーター
- localProfile
- SipProfile
着信呼び出しを受信する SIP プロファイル
- incomingCallPendingIntent
- PendingIntent
着信呼び出しを受信すると、SIP サービスは を呼び出して、結果コードと呼び出 PendingIntent#send(Context, int, Intent)
し ID とセッションの説明情報を入力する意図を使用して、意図を呼び出し元 #INCOMING_CALL_RESULT_CODE
に返します。 null にすることはできません。
- listener
- ISipRegistrationListener
登録イベントをリッスンする。null を指定できます
- 属性
例外
が null の場合incomingCallPendingIntent
プロファイルに正しくない設定が含まれている場合、または SIP サービスを呼び出すとエラーが発生する
注釈
呼び出しを行ったり、汎用 SIP 呼び出しを受信したりするためのプロファイルを開きます。 呼び出し元は、 を介して後続の呼び出しを #makeAudioCall
行うことができます。 プロファイルで自動登録オプションが有効になっている場合、SIP サービスは、プロバイダーからの呼び出しを受信するために、対応する SIP プロバイダーにプロファイルを定期的に登録します。 SIP サービスは、新しい呼び出しを受信すると、指定されたアクション文字列を含む意図を送信します。 意図には、呼び出し ID extra とオファー セッション説明文字列 extra が含まれています。 と #getOfferSessionDescription
を使用して#getCallId
、これらの追加機能を取得します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
こちらもご覧ください
- <xref:Android.Net.Sip.SipManager.TakeAudioCall(Android.Content.Intent%2c+.Listener)>
- IsIncomingCallIntent(Intent)
- GetCallId(Intent)
- GetOfferSessionDescription(Intent)