{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Interface IAsyncRelayCommand | App UI | 0.5.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAsyncRelayCommand

    An interface expanding IRelayCommand to support asynchronous operations.

    Inherited Members
    IRelayCommand.NotifyCanExecuteChanged()
    ICommand.CanExecute(object)
    ICommand.Execute(object)
    ICommand.CanExecuteChanged
    INotifyPropertyChanged.PropertyChanged
    Namespace: Unity.AppUI.MVVM
    Assembly: solution.dll
    Syntax
    public interface IAsyncRelayCommand : IRelayCommand, ICommand, INotifyPropertyChanged

    Properties

    Name Description
    canBeCancelled

    Gets a value indicating whether a running operation for this command can currently be canceled.

    executionTask

    Gets the last scheduled Task, if available. This property notifies a change when the Task completes.

    isCancellationRequested

    Gets a value indicating whether a running operation for this command has been cancelled.

    isRunning

    Gets a value indicating whether an operation for this command is currently running.

    Methods

    Name Description
    Cancel()

    Attempts to cancel the currently running operation for this command.

    ExecuteAsync(object?)

    Executes the command asynchronously.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)