libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ sbservices_get_interface_orientation()

sbservices_error_t sbservices_get_interface_orientation ( sbservices_client_t  client,
sbservices_interface_orientation_t *  interface_orientation 
)

Gets the interface orientation of the device.

Parameters
clientThe connected sbservices client to use.
interface_orientationThe interface orientation upon successful return.
Returns
SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when client or state is invalid, or an SBSERVICES_E_* error code otherwise.