Class RotaryEventExtensions
Definition
- Assembly:
- ElmSharp.Wearable.dll
The RotaryEventManager serves extension functions for the Rotary event to EvasObject on a device like Galaxy Gear.
[Obsolete("This has been deprecated in API12")]
public static class RotaryEventExtensions
- Inheritance
-
objectRotaryEventExtensions
Methods
View SourceActivate(EvasObject)
Activates this object that can take the Rotary event.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void Activate(this EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | Target object. |
Activate(IRotaryActionWidget)
Activates this Circle widget that can take the Rotary event.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void Activate(this IRotaryActionWidget widget)
Parameters
Type | Name | Description |
---|---|---|
IRotaryActionWidget | widget | Target the Circle widget. |
AddRotaryEventHandler(EvasObject, RotaryEventHandler)
Adds a handler for the Rotary event on a specific EvasObject.
Declaration
[Obsolete("This has been deprecated in API12")]
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. |
Deactivate(EvasObject)
Deactivates this object that is blocked from the Rotary event.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void Deactivate(this EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | Target object. |
Deactivate(IRotaryActionWidget)
Deactivates this circle widget that is blocked from the Rotary event.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void Deactivate(this IRotaryActionWidget widget)
Parameters
Type | Name | Description |
---|---|---|
IRotaryActionWidget | widget | Target the Circle widget. |
RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)
Removes a handler on a specific EvasObject for the Rotary event.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void RemoveRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | Target EvasObject. |
RotaryEventHandler | handler | Event handler for Rotary event. |