{!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} Class Handler | App UI | 0.6.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Handler

    Handler gives you the ability to send and receive Message objects.

    When you create a new Handler it is bound to a Looper. It will deliver messages to that Looper's message queue and execute them.
    Inheritance
    object
    Handler
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.AppUI.Core
    Assembly: solution.dll
    Syntax
    public class Handler

    Constructors

    Name Description
    Handler(Looper, Func<Message, bool>)

    Construct an Handler instance using a provided Looper and a callback to handle received messages..

    Methods

    Name Description
    ObtainMessage(int, int, object)

    Get a Message from the message pool.

    ObtainMessage(int, object)

    Get a Message from the message pool.

    RemoveCallbacksAndMessages(object)

    Remove any pending posts of callbacks and sent messages whose obj is token. If token is null, all callbacks and messages will be removed.

    SendMessage(Message)

    Send a message to the Looper message queue.

    SendMessageDelayed(Message, int)

    Send a message that will be enqueued into the Looper's message queue later.

    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)