public class DisplayDelegate extends BaseSystemDelegate implements me.adaptive.arp.api.IDisplay
| Constructor and Description |
|---|
DisplayDelegate()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDisplayOrientationListener(me.adaptive.arp.api.IDisplayOrientationListener listener)
Add a listener to start receiving display orientation change events.
|
me.adaptive.arp.api.ICapabilitiesOrientation |
getOrientationCurrent()
Returns the current orientation of the display.
|
void |
removeDisplayOrientationListener(me.adaptive.arp.api.IDisplayOrientationListener listener)
Remove a listener to stop receiving display orientation change events.
|
void |
removeDisplayOrientationListeners()
Remove all listeners receiving display orientation events.
|
getAPIGroup, getAPIVersionpublic void addDisplayOrientationListener(me.adaptive.arp.api.IDisplayOrientationListener listener)
addDisplayOrientationListener in interface me.adaptive.arp.api.IDisplaylistener - Listener to add to receive orientation change events.public me.adaptive.arp.api.ICapabilitiesOrientation getOrientationCurrent()
getOrientationCurrent in interface me.adaptive.arp.api.IDisplaypublic void removeDisplayOrientationListener(me.adaptive.arp.api.IDisplayOrientationListener listener)
removeDisplayOrientationListener in interface me.adaptive.arp.api.IDisplaylistener - Listener to remove from receiving orientation change events.public void removeDisplayOrientationListeners()
removeDisplayOrientationListeners in interface me.adaptive.arp.api.IDisplay