It contains the information of the current device. The object is available on Frontend as well as backend.
Value | Description |
---|---|
isMobile | True if device is mobile device (phone or tablet) |
isMobileApp | True if the request is from Mobile App. |
isTablet | True if the device is a tablet |
isPhone | True if device is phone. |
isAndroid | True for an Android device |
isIphone | True for iPhone device |
isIpad | True for iPad device |
<h3 ng-if="ms.device.isAndroid">Android device</h3>
<h3 ng-if="ms.device.isMobileApp">Mobile App</h3>