Orbit 3D Mapping Viewer SDK
    Preparing search index...

    Class Signal<T>

    Class Signal models an event emitter. This class has platform specific behaviors.

    The CSharp version has a public "SignalEvent" event property to which "Action" delegates can be added or removed. The property signature is: "public event Action SignalEvent"

    Type Parameters

    • T
    Index

    Constructors

    • Create a new signal.

      Type Parameters

      • T

      Returns Signal<T>

    Methods

    • Add a event listener.

      Parameters

      • listener: (T: any) => void

        the listener to add.

      Returns void

    • Dispatch a value.

      Parameters

      • value: T

        the value to provide to the listeners.

      Returns void

    • Dispatch an untyped value.

      Parameters

      • value: any

        the value to provide to the listeners.

      Returns void

    • Remove an event listener.

      Parameters

      • listener: (T: any) => void

        the listener to remove.

      Returns void