IAccountManagerFuture インターフェイス

定義

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。

[Android.Runtime.Register("android/accounts/AccountManagerFuture", "", "Android.Accounts.IAccountManagerFutureInvoker")]
[Java.Interop.JavaTypeParameters(new System.String[] { "V" })]
public interface IAccountManagerFuture : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/accounts/AccountManagerFuture", "", "Android.Accounts.IAccountManagerFutureInvoker")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "V" })>]
type IAccountManagerFuture = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
属性
実装

注釈

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。 メソッドは、計算が完了した場合にチェックし、その完了を待機し、計算の結果を取得するために提供されます。 結果は、計算が完了した場合にのみ メソッド get を使用して取得でき、準備が整うまで必要に応じてブロックされます。 キャンセルは メソッドによって実行されます cancel 。 タスクが正常に完了したか取り消されたかを判断するための追加のメソッドが用意されています。 計算が完了すると、計算を取り消すことはできません。 取り消し可能にするために を使用 Future したいが、使用可能な結果を提供しない場合は、フォーム Future&lt;?&gt; の型を宣言し、基になるタスクの結果として を返 null すことができます。

android.accounts.AccountManagerFutureJava ドキュメント。

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

プロパティ

Handle

基になる Android オブジェクトの JNI 値を取得します。

(継承元 IJavaObject)
IsCancelled

このタスクが true 正常に完了する前に取り消された場合は を返します。

IsDone

このタスクが true 完了した場合は を返します。

JniIdentityHashCode

ラップされたインスタンスの の java.lang.System.identityHashCode() 値を返します。

(継承元 IJavaPeerable)
JniManagedPeerState

マネージド ピアの状態。

(継承元 IJavaPeerable)
JniPeerMembers

メンバー アクセスと呼び出しのサポート。

(継承元 IJavaPeerable)
PeerReference

JniObjectReferenceラップされた Java オブジェクト インスタンスの を返します。

(継承元 IJavaPeerable)
Result

が表す将来の結果の IAccountManagerFuture アクセサー。

メソッド

Cancel(Boolean)

このタスクの実行を取り消そうとします。

Disposed()

インスタンスが破棄されたときに呼び出されます。

(継承元 IJavaPeerable)
DisposeUnlessReferenced()

このインスタンスへの未処理の参照がない場合は、 を呼び出 Dispose()します。それ以外の場合は何も行いません。

(継承元 IJavaPeerable)
Finalized()

インスタンスが終了したときに呼び出されます。

(継承元 IJavaPeerable)
GetResult(Int64, TimeUnit)

が表す将来の結果の AccountManagerFuture アクセサー。

SetJniIdentityHashCode(Int32)

によって返される値を JniIdentityHashCode設定します。

(継承元 IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates)

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。

(継承元 IJavaPeerable)
SetPeerReference(JniObjectReference)

によって返される値を PeerReference設定します。

(継承元 IJavaPeerable)
UnregisterFromRuntime()

ランタイムが今後 Java.Interop.JniRuntime+JniValueManager.PeekValue の呼び出しから返されないように、このインスタンスの登録を解除します。

(継承元 IJavaPeerable)

拡張メソッド

GetResultAsync(IAccountManagerFuture, Int64, TimeUnit)

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。

GetJniTypeName(IJavaPeerable)

AccountManagerFuture 、非同期 AccountManager 呼び出しの結果を表します。

適用対象