The following tables list the members exposed by InteractiveService.
Public Constructors
Name | Description | |
---|---|---|
InteractiveService Constructor | Overloaded. |
Public Properties
Name | Description | |
---|---|---|
basicGesture | Gets basic gesture recognizer. | |
delegate | Gets or sets the delegate to listen to InteractiveService events. | |
doubleTapGesture | Gets double Tap gesture recognizer. | |
DragStartsOnDown | Gets or sets a value that indicates whether DragStarted events should fire on mouse or touch down. | |
execludedSubview | Gets an array of UIViews excluded from target subviews. | |
holdGesture | Gets Hold gesture recognizer. | |
IsListening | Gets a value that indicates whether the service is currently listening to events. | |
Owner | Gets the owner of the service. | |
panGesture | Gets Pan gesture recognizer. | |
pinchGesture | Gets Pinch gesture recognizer. | |
rotateGesture | Get rotate gestures recognizer. | |
tapGesture | Gets Tap gesture recognizer. | |
TargetElement | Gets or sets the target canvas. | |
UserElements | Gets the user views. |
Public Methods
Name | Description | |
---|---|---|
Dispose | Destroys this InteractiveService and releases all the resources. | |
OnSizeChanged | Informs the service that the size of the target or events elements have changed. | |
onTouchEvent | Accepts MotionEvent data and dispatches the event to the internal detectors. | |
PinchGuestureListener | Occurs when a pinch gesture is detected. | |
SimplegestureListener | Occurs on the simple gestures like down, move, up, single tap and double tap. | |
StartListening | Starts listening to the TargetElement events. | |
StopListening | Stops listening to the TargetElement events. |
Protected Methods
Name | Description | |
---|---|---|
CreateControl | Creates the interactive service. | |
createControl | Creates the interactive service. | |
OnDoubleTap | Raises the DoubleTap event. | |
onDown | Occurs when the user performs the down MotionEvent, this method fires the InteractiveSimpleOnGestureListener.onDown event. | |
OnDragCompleted | Raises the DragCompleted event. | |
OnDragDelta | Raises the DragDelta event. | |
OnDragStarted | Raises the DragStarted event. | |
onFling | Occurs when the user performs a down MotionEvent and a matching up MotionEvent, this method fires the InteractiveSimpleOnGestureListener.onFling event. | |
OnHold | Raises the Hold event. | |
onLongPress | Occurs when the user perform a long press on the target view, this method fires the InteractiveSimpleOnGestureListener.onLongPress event. | |
onMove | Fires the InteractiveSimpleOnGestureListener.onMove event. | |
onPinchCompleted | Fires the InteractiveOnPinchGestureListener.onPinchCompleted. | |
onPinchStarted | Fires the InteractiveOnPinchGestureListener.onPinchStarted. | |
onPinchWorking | Fires the InteractiveOnPinchGestureListener.onPinchWorking. | |
OnRightTap | Raises the RightTap event. | |
onShowPress | Occurs when the user performs a down MotionEvent and not performing a move or up yet, this method fires the InteractiveSimpleOnGestureListener.onShowPress event. | |
onSingleTap | Fires the InteractiveSimpleOnGestureListener.onSingleTap event. | |
onSingleTapUp | Occurs when the user performs a tap with the up MotionEvent, this method fires the InteractiveSimpleOnGestureListener.onSingleTapUp event. | |
OnTap | Raises the Tap event. | |
onUp | Fires the InteractiveSimpleOnGestureListener.onUp event. |
Public Events
Name | Description | |
---|---|---|
DoubleTap | Occurs when the user double taps with the mouse or a finger. | |
DragCompleted | Occurs when the user completes a drag operation. | |
DragDelta | Occurs when the user moves the mouse or finger while dragging. | |
DragStarted | Occurs when the user starts a drag operation. | |
Hold | Occurs when the user taps and holds with the mouse or a finger. | |
interactiveServiceHighLevelEvents | Represents high level events for interactive service that could be listen to using Notification Center | |
interactiveServicelowLevelEvents | low level events for interactive service that could be listen to using Notification Center | |
interactiveServiceOSXEvents | low level events for interactive service that could be listen to using Notification Center | |
RightTap | Occurs when the user performs a right tap operation with either the mouse or a finger. | |
Tap | Occurs when the user performs a tap operation with either the mouse or a finger. |