Namespace sap.ui.Device.supportModule: sap/ui/Device
Contains information about detected capabilities of the used browser or device.
Field Summary
matchmediaIf this flag is set to
true
, the used browser natively supports media queries via JavaScript.matchmedialistenerIf this flag is set to
true
, the used browser natively supports events of media queries via JavaScript.orientationIf this flag is set to
true
, the used browser natively supports the orientationchange
event.pointerIf this flag is set to
true
, the used browser supports pointer events.retinaIf this flag is set to
true
, the device has a display with a high resolution.touchIf this flag is set to
true
, the used browser supports touch events.websocketIf this flag is set to
true
, the used browser supports web sockets.Field Detail
matchmedia: boolean
If this flag is set to
true
, the used browser natively supports media queries via JavaScript. Note: The media queries API of the device API can also be used when there is no native support.
matchmedialistener: boolean
If this flag is set to
true
, the used browser natively supports events of media queries via JavaScript. Note: The media queries API of the device API can also be used when there is no native support.
orientation: boolean
If this flag is set to
true
, the used browser natively supports the orientationchange
event. Note: The orientation event of the device API can also be used when there is no native support.