Udostępnij za pośrednictwem


ICompletionHandler.Completed(Object, Object) Method

Definition

Invoked when an operation has completed.

[Android.Runtime.Register("completed", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetCompleted_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Nio.Channels.ICompletionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public void Completed (Java.Lang.Object? result, Java.Lang.Object? attachment);
[<Android.Runtime.Register("completed", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetCompleted_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Nio.Channels.ICompletionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Completed : Java.Lang.Object * Java.Lang.Object -> unit

Parameters

result
Object

The result of the I/O operation.

attachment
Object

The object attached to the I/O operation when it was initiated.

Attributes

Remarks

Invoked when an operation has completed.

Java documentation for java.nio.channels.CompletionHandler.completed(V, A).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to