Functions in orientation.h
Functions that are available for reading the orientation on the device.
orientation_event_get_angle()
Get the current angle of the device.
orientation_event_get_direction()
Get the curent direction that the device is being held in.
orientation_get()
Get the current orientation direction and angle.
orientation_get_domain()
Get the unique domain ID for the orientation service.
orientation_request_events()
Start receiving orientation events.
orientation_stop_events()
Stop receiving orientation change events.
Parent topic:
Device orientation (orientation.h)
Related concepts
Data types in orientation.h