상속: IEnclosureLocation
 public CameraRotationHelper(EnclosureLocation cameraEnclosureLocation)
 {
     _cameraEnclosureLocation = cameraEnclosureLocation;
     if (!IsEnclosureLocationExternal(_cameraEnclosureLocation) && _orientationSensor != null)
     {
         _orientationSensor.OrientationChanged += SimpleOrientationSensor_OrientationChanged;
     }
     _displayInformation.OrientationChanged += DisplayInformation_OrientationChanged;
 }
 /// <summary>
 /// Detects whether or not the camera is external to the device
 /// </summary>
 public static bool IsEnclosureLocationExternal(EnclosureLocation enclosureLocation)
 {
     return (enclosureLocation == null || enclosureLocation.Panel == Windows.Devices.Enumeration.Panel.Unknown);
 }