public interface ICapabilities extends IBaseSystem
| Modifier and Type | Method and Description |
|---|---|
ICapabilitiesOrientation |
getOrientationDefault()
Obtains the default orientation of the device/display.
|
ICapabilitiesOrientation[] |
getOrientationsSupported()
Provides the device/display orientations supported by the platform.
|
boolean |
hasButtonSupport(ICapabilitiesButton type)
Determines whether a specific hardware button is supported for interaction.
|
boolean |
hasCommunicationSupport(ICapabilitiesCommunication type)
Determines whether a specific Communication capability is supported by
the device.
|
boolean |
hasDataSupport(ICapabilitiesData type)
Determines whether a specific Data capability is supported by the device.
|
boolean |
hasMediaSupport(ICapabilitiesMedia type)
Determines whether a specific Media capability is supported by the
device.
|
boolean |
hasNetSupport(ICapabilitiesNet type)
Determines whether a specific Net capability is supported by the device.
|
boolean |
hasNotificationSupport(ICapabilitiesNotification type)
Determines whether a specific Notification capability is supported by the
device.
|
boolean |
hasOrientationSupport(ICapabilitiesOrientation orientation)
Determines whether the device/display supports a given orientation.
|
boolean |
hasSensorSupport(ICapabilitiesSensor type)
Determines whether a specific Sensor capability is supported by the
device.
|
getAPIGroup, getAPIVersionICapabilitiesOrientation getOrientationDefault()
ICapabilitiesOrientation[] getOrientationsSupported()
boolean hasButtonSupport(ICapabilitiesButton type)
type - Type of feature to check.boolean hasCommunicationSupport(ICapabilitiesCommunication type)
type - Type of feature to check.boolean hasDataSupport(ICapabilitiesData type)
type - Type of feature to check.boolean hasMediaSupport(ICapabilitiesMedia type)
type - Type of feature to check.boolean hasNetSupport(ICapabilitiesNet type)
type - Type of feature to check.boolean hasNotificationSupport(ICapabilitiesNotification type)
type - Type of feature to check.boolean hasOrientationSupport(ICapabilitiesOrientation orientation)
orientation - Orientation type.boolean hasSensorSupport(ICapabilitiesSensor type)
type - Type of feature to check.