public static INCarAirCirculationModeResolutionResult GetSuccess(INCarAirCirculationMode resolvedValue) { #if IOS if (XamCore.UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (XamCore.WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #endif { return(SuccessWithResolvedCarAirCirculationMode(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } }
public static INCarAirCirculationModeResolutionResult GetSuccess(INCarAirCirculationMode resolvedValue) { #if __WATCHOS__ throw new PlatformNotSupportedException("This class is not supported on watchOS"); #elif __IOS__ if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) { return(SuccessWithResolvedCarAirCirculationMode(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } #endif }
public static INCarAirCirculationModeResolutionResult GetConfirmationRequired(INCarAirCirculationMode valueToConfirm) { #if __WATCHOS__ throw new PlatformNotSupportedException("This class is not supported on watchOS"); #elif __IOS__ if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) { return(ConfirmationRequiredWithCarAirCirculationModeToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } #endif }
public INSetClimateSettingsInCarIntent(bool?enableFan, bool?enableAirConditioner, bool?enableClimateControl, bool?enableAutoMode, INCarAirCirculationMode airCirculationMode, NSNumber fanSpeedIndex, NSNumber fanSpeedPercentage, INRelativeSetting relativeFanSpeedSetting, NSMeasurement <NSUnitTemperature> temperature, INRelativeSetting relativeTemperatureSetting, INCarSeat climateZone) : this(enableFan.HasValue ? new NSNumber(enableFan.Value) : null, enableAirConditioner.HasValue ? new NSNumber(enableAirConditioner.Value) : null, enableClimateControl.HasValue ? new NSNumber(enableClimateControl.Value) : null, enableAutoMode.HasValue ? new NSNumber(enableAutoMode.Value) : null, airCirculationMode, fanSpeedIndex, fanSpeedPercentage, relativeFanSpeedSetting, temperature, relativeTemperatureSetting, climateZone) { }
public static INCarAirCirculationModeResolutionResult ConfirmationRequiredWithCarAirCirculationModeToConfirm(INCarAirCirculationMode carAirCirculationModeToConfirm) { throw new PlatformNotSupportedException(Constants.UnavailableOnWatchOS); }
public static INCarAirCirculationModeResolutionResult GetConfirmationRequired(INCarAirCirculationMode valueToConfirm) { #if IOS if (XamCore.UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (XamCore.WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #endif { return(ConfirmationRequiredWithCarAirCirculationModeToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } }
public static INCarAirCirculationModeResolutionResult ConfirmationRequiredWithCarAirCirculationModeToConfirm(INCarAirCirculationMode carAirCirculationModeToConfirm) { throw new PlatformNotSupportedException("This class is not supported on watchOS"); }