MbmsGroupCallSession.Create メソッド

定義

オーバーロード

Create(Context, IExecutor, IMbmsGroupCallSessionCallback)

システムの既定のデータ サブスクリプション ID を使用して、新しい MbmsGroupCallSession を作成します。

Create(Context, Int32, IExecutor, IMbmsGroupCallSessionCallback)

指定したサブスクリプション ID を使用して新しい MbmsGroupCallSession を作成します。

Create(Context, IExecutor, IMbmsGroupCallSessionCallback)

システムの既定のデータ サブスクリプション ID を使用して、新しい MbmsGroupCallSession を作成します。

[Android.Runtime.Register("create", "(Landroid/content/Context;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/MbmsGroupCallSessionCallback;)Landroid/telephony/MbmsGroupCallSession;", "", ApiSince=29)]
public static Android.Telephony.MbmsGroupCallSession? Create (Android.Content.Context context, Java.Util.Concurrent.IExecutor executor, Android.Telephony.Mbms.IMbmsGroupCallSessionCallback callback);
[<Android.Runtime.Register("create", "(Landroid/content/Context;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/MbmsGroupCallSessionCallback;)Landroid/telephony/MbmsGroupCallSession;", "", ApiSince=29)>]
static member Create : Android.Content.Context * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.IMbmsGroupCallSessionCallback -> Android.Telephony.MbmsGroupCallSession

パラメーター

context
Context

使用する Context

executor
IExecutor

コールバックを実行する Executor。

callback
IMbmsGroupCallSessionCallback

非同期操作の結果を受け取るコールバック オブジェクト。

戻り値

のインスタンス MbmsGroupCallSession。エラーが発生した場合は null。

属性

注釈

システムの既定のデータ サブスクリプション ID を使用して、新しい MbmsGroupCallSession を作成します。 「#create(Context, int, Executor, MbmsGroupCallSessionCallback)」を参照してください。

android.telephony.MbmsGroupCallSession.create(android.content.Context, java.util.concurrent.Executor, android.telephony.mbms.MbmsGroupCallSessionCallback)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Create(Context, Int32, IExecutor, IMbmsGroupCallSessionCallback)

指定したサブスクリプション ID を使用して新しい MbmsGroupCallSession を作成します。

[Android.Runtime.Register("create", "(Landroid/content/Context;ILjava/util/concurrent/Executor;Landroid/telephony/mbms/MbmsGroupCallSessionCallback;)Landroid/telephony/MbmsGroupCallSession;", "", ApiSince=29)]
public static Android.Telephony.MbmsGroupCallSession? Create (Android.Content.Context context, int subscriptionId, Java.Util.Concurrent.IExecutor executor, Android.Telephony.Mbms.IMbmsGroupCallSessionCallback callback);
[<Android.Runtime.Register("create", "(Landroid/content/Context;ILjava/util/concurrent/Executor;Landroid/telephony/mbms/MbmsGroupCallSessionCallback;)Landroid/telephony/MbmsGroupCallSession;", "", ApiSince=29)>]
static member Create : Android.Content.Context * int * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.IMbmsGroupCallSessionCallback -> Android.Telephony.MbmsGroupCallSession

パラメーター

context
Context

使用する Context

subscriptionId
Int32

使用するサブスクリプション ID。

executor
IExecutor

コールバックを実行する Executor。

callback
IMbmsGroupCallSessionCallback

非同期操作の結果を受け取るコールバック オブジェクト。

戻り値

のインスタンス MbmsGroupCallSession。エラーが発生した場合は null。

属性

注釈

指定したサブスクリプション ID を使用して新しい MbmsGroupCallSession を作成します。

のインスタンス MbmsGroupCallSession は UID ごとに 1 つだけ使用できます。 プロセス内に のアクティブなインスタンス MbmsGroupCallSession がある間にこのメソッドを呼び出すと (つまり、呼び出されていない #close() インスタンス)、このメソッドは を IllegalStateExceptionスローします。 同じ UID で実行されている別のプロセスでこのメソッドを呼び出すと、 を介して MbmsGroupCallSessionCallback#onError(int, String)エラーが示されます。

初期化が非同期的に失敗する可能性があることに注意してください。 このような非同期エラーが発生した後にもう一度やり直す場合は、このメソッドを再度呼び出 #close() す前に、受信した の MbmsGroupCallSession インスタンスで を呼び出す必要があります。

android.telephony.MbmsGroupCallSession.create(android.content.Context, int, java.util.concurrent.Executor, android.telephony.mbms.MbmsGroupCallSessionCallback)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象