MedM DeviceKit
MedMDeviceKitError.h
Go to the documentation of this file.
1 //
2 // MedMDeviceKitException.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2020 MedM. All rights reserved.
6 //
7 
8 #pragma once
9 
10 #import <Foundation/Foundation.h>
11 
12 typedef NS_ENUM(NSInteger, MedMDeviceKitErrorCode) {
13  DeviceKitKeyInvalid NS_SWIFT_NAME(invalidKey), // Indicates that provided Key/License is invalid
14  DeviceKitNotInitialized NS_SWIFT_NAME(notInitialized), // Indicates that MedM DeviceKit was used without a proper initialization
15  DeviceKitBuildExpired NS_SWIFT_NAME(buildExpired), // Indicates that provided MedM DeviceKit distribution is time limited and expired
16  DeviceKitLicenseExpired NS_SWIFT_NAME(licenseExpired), // Indicates that provided MedM DeviceKit license is time limited and expired
17  DeviceKitUnsupportedBundle NS_SWIFT_NAME(unsupportedBundle), // Indicates that apps bundle is unsupported by provided MedM DeviceKit license
18  DeviceKitInitializationFailed NS_SWIFT_NAME(initializationFailed), // Indicates that MedM DeviceKit initialization failed
19  DeviceKitFeatureUnavailable NS_SWIFT_NAME(featureUnavailable), // Indicates that MedM DeviceKit license doesn't support this feature
20  DeviceKitUnsupportedOperation NS_SWIFT_NAME(unsupportedOperation),
21  DeviceKitIndexOutOfBounds NS_SWIFT_NAME(indexOutOfBounds),
22  DeviceKitFailedToAddPostponedDevice NS_SWIFT_NAME(failedToAddPostponedDevice), // Indicates that this device can't be added for postponed adding. It's either doesn't support it or already added
23  DeviceKitBluetoothTurnedOff NS_SWIFT_NAME(bluetoothTurnedOff),
24  DeviceKitInvalidArgument NS_SWIFT_NAME(invalidArgument)
25 } NS_SWIFT_NAME(MedMDeviceKit.ErrorCode);
26 
27 
28 static const NSErrorDomain MedMDeviceKitErrorDomain = @"MedMDeviceKitErrorDomain";
Definition: MedMDeviceKitError.h:22
Definition: MedMDeviceKitError.h:24
Definition: MedMDeviceKitError.h:19
Definition: MedMDeviceKitError.h:21
Definition: MedMDeviceKitError.h:13
Definition: MedMDeviceKitError.h:18
Main MedM DeviceKit entry point.
Definition: MedMDeviceKit.h:32
Definition: MedMDeviceKitError.h:15
Definition: MedMDeviceKitError.h:17
Definition: MedMDeviceKitError.h:23
Definition: MedMDeviceKitError.h:16
MedMDeviceKitErrorCode
Definition: MedMDeviceKitError.h:12
Definition: MedMDeviceKitError.h:20
Definition: MedMDeviceKitError.h:14