public static extern SpringBoardServicesError sbservices_get_interface_orientation(SpringBoardServicesClientHandle client, ref SpringBoardServicesInterfaceOrientation interfaceOrientation);
Example #2
0
 /// <summary>
 /// Gets the interface orientation of the device.
 /// </summary>
 /// <param name="client">
 /// The connected sbservices client to use.
 /// </param>
 /// <param name="interface_orientation">
 /// The interface orientation upon successful return.
 /// </param>
 /// <returns>
 /// SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when
 /// client or state is invalid, or an SBSERVICES_E_* error code otherwise.
 /// </returns>
 public virtual SpringBoardServicesError sbservices_get_interface_orientation(SpringBoardServicesClientHandle client, ref SpringBoardServicesInterfaceOrientation interfaceOrientation)
 {
     return(SpringBoardServicesNativeMethods.sbservices_get_interface_orientation(client, ref interfaceOrientation));
 }