Show / Hide Table of Contents

    Class RotaryEventExtensions

    Definition

    Namespace:
    ElmSharp.Wearable
    Assembly:
    ElmSharp.Wearable.dll
    API Level:
    preview

    The RotaryEventManager serves extension functions for the Rotary event to EvasObject on a device like Galaxy Gear.

    public static class RotaryEventExtensions
    Inheritance
    Object
    RotaryEventExtensions

    Methods

    View Source

    Activate(EvasObject)

    Activates this object that can take the Rotary event.

    Declaration
    public static void Activate(this EvasObject obj)
    Parameters
    Type Name Description
    EvasObject obj

    Target object.

    API Level: preview
    View Source

    Activate(IRotaryActionWidget)

    Activates this Circle widget that can take the Rotary event.

    Declaration
    public static void Activate(this IRotaryActionWidget widget)
    Parameters
    Type Name Description
    IRotaryActionWidget widget

    Target the Circle widget.

    API Level: preview
    View Source

    AddRotaryEventHandler(EvasObject, RotaryEventHandler)

    Adds a handler for the Rotary event on a specific EvasObject.

    Declaration
    public static void AddRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
    Parameters
    Type Name Description
    EvasObject obj

    Target EvasObject.

    RotaryEventHandler handler

    Event handler for the Rotary event.

    API Level: preview
    View Source

    Deactivate(EvasObject)

    Deactivates this object that is blocked from the Rotary event.

    Declaration
    public static void Deactivate(this EvasObject obj)
    Parameters
    Type Name Description
    EvasObject obj

    Target object.

    API Level: preview
    View Source

    Deactivate(IRotaryActionWidget)

    Deactivates this circle widget that is blocked from the Rotary event.

    Declaration
    public static void Deactivate(this IRotaryActionWidget widget)
    Parameters
    Type Name Description
    IRotaryActionWidget widget

    Target the Circle widget.

    API Level: preview
    View Source

    RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)

    Removes a handler on a specific EvasObject for the Rotary event.

    Declaration
    public static void RemoveRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
    Parameters
    Type Name Description
    EvasObject obj

    Target EvasObject.

    RotaryEventHandler handler

    Event handler for Rotary event.

    API Level: preview
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX