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.
C#Copypublic static class RotaryEventExtensions : object
- Inheritance
-
RotaryEventExtensions
Methods
Declaration
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
Declaration
C#Copypublic 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
C#Copypublic 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
C#Copypublic static void RemoveRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | Target EvasObject. |
RotaryEventHandler | handler | Event handler for Rotary event. |