public interface IDisplayOrientationListener extends IBaseListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IDisplayOrientationListenerError error)
Although extremely unlikely, this event will be fired if something beyond the control of the
platform impedes the rotation of the display.
|
void |
onResult(RotationEvent rotationEvent)
Event fired with the successful start and finish of a rotation.
|
void |
onWarning(RotationEvent rotationEvent,
IDisplayOrientationListenerWarning warning)
Event fired with a warning when the rotation is aborted.
|
getIdgetAPIGroup, getAPIVersionvoid onError(IDisplayOrientationListenerError error)
error - The error condition... generally unknown as it is unexpected!void onResult(RotationEvent rotationEvent)
rotationEvent - RotationEvent containing origin, destination and state of the event.void onWarning(RotationEvent rotationEvent, IDisplayOrientationListenerWarning warning)
rotationEvent - RotationEvent containing origin, destination and state of the event.warning - Type of condition that aborted rotation execution.