BinderConsts.FlagOneway フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.OS.TransactionFlags enum directly instead of this field.

フラグ : #transactこれは一方向の呼び出しです。つまり、呼び出し先からの結果を待たずに、呼び出し元がすぐに返されます。

[Android.Runtime.Register("FLAG_ONEWAY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.TransactionFlags enum directly instead of this field.", true)]
public const Android.OS.TransactionFlags FlagOneway = 1;
[<Android.Runtime.Register("FLAG_ONEWAY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.TransactionFlags enum directly instead of this field.", true)>]
val mutable FlagOneway : Android.OS.TransactionFlags

フィールド値

Value = 1
属性

注釈

フラグ : #transactこれは一方向の呼び出しです。つまり、呼び出し先からの結果を待たずに、呼び出し元がすぐに返されます。 呼び出し元と呼び出し先が異なるプロセスにある場合にのみ適用されます。

システムは、同じ IBinder オブジェクトに対して行われる複数のワンウェイ呼び出しに対して特別な順序付けセマンティクスを提供します。これらの呼び出しは、元の呼び出しと同じ順序で、一度に 1 つずつ他のプロセスでディスパッチされます。 これらは引き続き IPC スレッド プールによってディスパッチされるため、異なるスレッドで実行できますが、次のスレッドは前のスレッドが完了するまでディスパッチされません。 この順序付けは、異なる IBinder オブジェクトでの呼び出しや、同じ IBinder オブジェクトで一方向と一方向以外の呼び出しを混在する場合には保証されません。

の Java ドキュメント android.os.IBinder.FLAG_ONEWAY

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

適用対象