Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 604 Bytes

supportsOrientation.markdown

File metadata and controls

22 lines (14 loc) · 604 Bytes

device.supportsOrientation

 
Type Boolean
Library device.*
Keywords orientation, event
See also Sample code

Overview

This property indicates whether the device running the application supports orientation events.

Example

local device = require 'plugin.device'

print( device.supportsOrientation )