public static INCallRecordTypeResolutionResult GetConfirmationRequired(INCallRecordType valueToConfirm) { #if IOS if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #elif MONOMAC if (PlatformHelper.CheckSystemVersion(10, 13)) #endif { return(ConfirmationRequiredWithCallRecordTypeToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } }
public static INCallRecordTypeResolutionResult GetConfirmationRequired(INCallRecordType valueToConfirm) { #if IOS if (SystemVersion.CheckiOS(11, 0)) #elif WATCH if (SystemVersion.CheckwatchOS(4, 0)) #elif MONOMAC if (SystemVersion.CheckmacOS(10, 13)) #endif { return(ConfirmationRequiredWithCallRecordTypeToConfirm(valueToConfirm)); } else { return(ConfirmationRequiredWithValueToConfirm(valueToConfirm)); } }
public static INCallRecordTypeResolutionResult GetSuccess(INCallRecordType resolvedValue) { #if IOS if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) #elif WATCH if (WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion(4, 0)) #elif MONOMAC if (PlatformHelper.CheckSystemVersion(10, 13)) #endif { return(SuccessWithResolvedCallRecordType(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } }
public static INCallRecordTypeResolutionResult GetSuccess(INCallRecordType resolvedValue) { #if IOS if (SystemVersion.CheckiOS(11, 0)) #elif WATCH if (SystemVersion.CheckwatchOS(4, 0)) #elif MONOMAC if (SystemVersion.CheckmacOS(10, 13)) #endif { return(SuccessWithResolvedCallRecordType(resolvedValue)); } else { return(SuccessWithResolvedValue(resolvedValue)); } }