Taal

AppInteractionSession.Update Method

Definition

Updates the session with the given params.

[Android.Runtime.Register("update", "(Landroid/app/AppInteractionSession$UpdateParams;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)]
public void Update(Android.App.AppInteractionSession.UpdateParams params, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("update", "(Landroid/app/AppInteractionSession$UpdateParams;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)>]
member this.Update : Android.App.AppInteractionSession.UpdateParams * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

params
AppInteractionSession.UpdateParams

The parameters to update the session with. This value cannot be null.

executor
IExecutor

The Executor on which to invoke the callback. This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread.

callback
IOutcomeReceiver

The OutcomeReceiver to receive the result of the update. This value cannot be null.

Attributes

Remarks

Updates the session with the given params.

Android reference for android.app.AppInteractionSession.update.

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