Type | Boolean |
Library | device.* |
Keywords | orientation, event |
See also | Sample code |
This property indicates whether the device running the application supports orientation events.
local device = require 'plugin.device'
print( device.supportsOrientation )