添加ios库
This commit is contained in:
parent
493564b9ed
commit
43a5c18937
@ -112,4 +112,8 @@
|
|||||||
<ProjectReference Include="..\NfcLock.Ios.Binding\NfcLock.Ios.Binding.csproj" Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" />
|
<ProjectReference Include="..\NfcLock.Ios.Binding\NfcLock.Ios.Binding.csproj" Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Platforms\iOS\Frameworks\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -0,0 +1,707 @@
|
|||||||
|
#import <Foundation/NSArray.h>
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
#import <Foundation/NSError.h>
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
#import <Foundation/NSSet.h>
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
#import <Foundation/NSValue.h>
|
||||||
|
|
||||||
|
@class NFCSDKCV, NFCSDKCVCompanion, NFCSDKCallFunctionTask, NFCSDKChargeLevel, NFCSDKCommonTask, NFCSDKControlProgress, NFCSDKControlTask, NFCSDKCtrl, NFCSDKCtrlCompanion, NFCSDKDevice, NFCSDKDeviceInfo, NFCSDKDeviceLog, NFCSDKDeviceManager, NFCSDKGetLogTask, NFCSDKKotlinArray<T>, NFCSDKKotlinByteArray, NFCSDKKotlinByteIterator, NFCSDKKotlinEnum<E>, NFCSDKKotlinEnumCompanion, NFCSDKKotlinException, NFCSDKKotlinIllegalStateException, NFCSDKKotlinPair<__covariant A, __covariant B>, NFCSDKKotlinRuntimeException, NFCSDKKotlinThrowable, NFCSDKKotlinUnit, NFCSDKMet, NFCSDKMetCompanion, NFCSDKParameters, NFCSDKResult, NFCSDKSetKeyTask, NFCSDKSetParametersTask, NFCSDKUserType, NFCSDKUserTypeCompanion;
|
||||||
|
|
||||||
|
@protocol NFCSDKKotlinComparable, NFCSDKKotlinIterator, NFCSDKNFCCallbacks, NFCSDKNFCTag;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||||
|
#pragma clang diagnostic ignored "-Wincompatible-property-type"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
|
||||||
|
#pragma push_macro("_Nullable_result")
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
#undef _Nullable_result
|
||||||
|
#define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBase")))
|
||||||
|
@interface NFCSDKBase : NSObject
|
||||||
|
- (instancetype)init __attribute__((unavailable));
|
||||||
|
+ (instancetype)new __attribute__((unavailable));
|
||||||
|
+ (void)initialize __attribute__((objc_requires_super));
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NFCSDKBase (NFCSDKBaseCopying) <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableSet")))
|
||||||
|
@interface NFCSDKMutableSet<ObjectType> : NSMutableSet<ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableDictionary")))
|
||||||
|
@interface NFCSDKMutableDictionary<KeyType, ObjectType> : NSMutableDictionary<KeyType, ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSError (NSErrorNFCSDKKotlinException)
|
||||||
|
@property (readonly) id _Nullable kotlinException;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinNumber")))
|
||||||
|
@interface NFCSDKNumber : NSNumber
|
||||||
|
- (instancetype)initWithChar:(char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithShort:(short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInt:(int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLong:(long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithChar:(char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithShort:(short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInt:(int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLong:(long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByte")))
|
||||||
|
@interface NFCSDKByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithChar:(char)value;
|
||||||
|
+ (instancetype)numberWithChar:(char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUByte")))
|
||||||
|
@interface NFCSDKUByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value;
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinShort")))
|
||||||
|
@interface NFCSDKShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithShort:(short)value;
|
||||||
|
+ (instancetype)numberWithShort:(short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUShort")))
|
||||||
|
@interface NFCSDKUShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value;
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinInt")))
|
||||||
|
@interface NFCSDKInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithInt:(int)value;
|
||||||
|
+ (instancetype)numberWithInt:(int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUInt")))
|
||||||
|
@interface NFCSDKUInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value;
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinLong")))
|
||||||
|
@interface NFCSDKLong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithLongLong:(long long)value;
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinULong")))
|
||||||
|
@interface NFCSDKULong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinFloat")))
|
||||||
|
@interface NFCSDKFloat : NFCSDKNumber
|
||||||
|
- (instancetype)initWithFloat:(float)value;
|
||||||
|
+ (instancetype)numberWithFloat:(float)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinDouble")))
|
||||||
|
@interface NFCSDKDouble : NFCSDKNumber
|
||||||
|
- (instancetype)initWithDouble:(double)value;
|
||||||
|
+ (instancetype)numberWithDouble:(double)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBoolean")))
|
||||||
|
@interface NFCSDKBoolean : NFCSDKNumber
|
||||||
|
- (instancetype)initWithBool:(BOOL)value;
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinComparable")))
|
||||||
|
@protocol NFCSDKKotlinComparable
|
||||||
|
@required
|
||||||
|
- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinEnum")))
|
||||||
|
@interface NFCSDKKotlinEnum<E> : NFCSDKBase <NFCSDKKotlinComparable>
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKKotlinEnumCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NSString *name __attribute__((swift_name("name")));
|
||||||
|
@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV")))
|
||||||
|
@interface NFCSDKCV : NFCSDKKotlinEnum<NFCSDKCV *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCVCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCV *low __attribute__((swift_name("low")));
|
||||||
|
@property (class, readonly) NFCSDKCV *medium __attribute__((swift_name("medium")));
|
||||||
|
@property (class, readonly) NFCSDKCV *high __attribute__((swift_name("high")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCV *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCV *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint16_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV.Companion")))
|
||||||
|
@interface NFCSDKCVCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCVCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCV * _Nullable)fromValueValue:(uint16_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ChargeLevel")))
|
||||||
|
@interface NFCSDKChargeLevel : NFCSDKBase
|
||||||
|
- (instancetype)initWithLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("init(level:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKChargeLevel *)doCopyLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("doCopy(level:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t level __attribute__((swift_name("level")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlProgress")))
|
||||||
|
@interface NFCSDKControlProgress : NFCSDKBase
|
||||||
|
- (instancetype)initWithProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("init(progress:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlProgress *)doCopyProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("doCopy(progress:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t progress __attribute__((swift_name("progress")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl")))
|
||||||
|
@interface NFCSDKCtrl : NFCSDKKotlinEnum<NFCSDKCtrl *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCtrlCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *lock __attribute__((swift_name("lock")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *unlock __attribute__((swift_name("unlock")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCtrl *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCtrl *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl.Companion")))
|
||||||
|
@interface NFCSDKCtrlCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCtrlCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCtrl * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Device")))
|
||||||
|
@interface NFCSDKDevice : NFCSDKBase
|
||||||
|
- (instancetype)initWithS:(uint32_t)s __attribute__((swift_name("init(s:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDevice *)doCopyS:(uint32_t)s __attribute__((swift_name("doCopy(s:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (uint32_t)shiftC:(uint16_t)c __attribute__((swift_name("shift(c:)")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint32_t s __attribute__((swift_name("s")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceInfo")))
|
||||||
|
@interface NFCSDKDeviceInfo : NFCSDKBase
|
||||||
|
- (instancetype)initWithId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("init(id:isNew:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceInfo *)doCopyId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("doCopy(id:isNew:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint64_t id __attribute__((swift_name("id")));
|
||||||
|
@property (readonly) BOOL isNew __attribute__((swift_name("isNew")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceLog")))
|
||||||
|
@interface NFCSDKDeviceLog : NFCSDKBase
|
||||||
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("init(timestamp:username:ctrl:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceLog *)doCopyTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("doCopy(timestamp:username:ctrl:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCtrl * _Nullable ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) uint64_t timestamp __attribute__((swift_name("timestamp")));
|
||||||
|
@property (readonly) NSString *username __attribute__((swift_name("username")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceManager")))
|
||||||
|
@interface NFCSDKDeviceManager : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)deviceManager __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKDeviceManager *shared __attribute__((swift_name("shared")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)controlT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key ctrl:(NFCSDKCtrl *)ctrl completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("control(t:d:key:ctrl:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)encKey:(NFCSDKKotlinByteArray *)key info:(NFCSDKDeviceInfo *)info __attribute__((swift_name("enc(key:info:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getChargeLevelT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKChargeLevel *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getChargeLevel(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getControlProgressT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKControlProgress *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getControlProgress(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getInfoT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDeviceInfo *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getInfo(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getLogT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKDeviceLog *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getLog(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getRssiT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKUInt *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getRssi(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getVersionT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKUInt *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getVersion(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)doInitT:(id<NFCSDKNFCTag>)t completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDevice *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doInit(t:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)selectT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d type:(NFCSDKUserType *)type completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("select(t:d:type:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setKeyT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d info:(NFCSDKDeviceInfo *)info key:(NFCSDKKotlinByteArray *)key sKey:(NFCSDKKotlinByteArray *)sKey completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setKey(t:d:info:key:sKey:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setParametersT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key p:(NFCSDKParameters *)p completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setParameters(t:d:key:p:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)toFixed16Input:(NSString *)input __attribute__((swift_name("toFixed16(input:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("IOSNFCHelper")))
|
||||||
|
@interface NFCSDKIOSNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (void)controlPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl __attribute__((swift_name("control(password:ctrl:)")));
|
||||||
|
- (void)lockPassword:(NSString *)password __attribute__((swift_name("lock(password:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(completionHandler:)")));
|
||||||
|
- (void)setChargingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setChargingCb(cb:)")));
|
||||||
|
- (void)setControllingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setControllingCb(cb:)")));
|
||||||
|
- (void)setFinishedCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setFinishedCb(cb:)")));
|
||||||
|
- (void)setLoopCbCb:(NFCSDKBoolean *(^)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setLoopCb(cb:)")));
|
||||||
|
- (void)setLostCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setLostCb(cb:)")));
|
||||||
|
- (void)setTransceiverT:(void (^ _Nullable)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)))t __attribute__((swift_name("setTransceiver(t:)")));
|
||||||
|
- (void)unlockPassword:(NSString *)password __attribute__((swift_name("unlock(password:)")));
|
||||||
|
@property void (^ _Nullable charging)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("charging")));
|
||||||
|
@property void (^ _Nullable controlling)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("controlling")));
|
||||||
|
@property void (^ _Nullable finished)(void) __attribute__((swift_name("finished")));
|
||||||
|
@property NFCSDKBoolean *(^ _Nullable loop)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable) __attribute__((swift_name("loop")));
|
||||||
|
@property void (^ _Nullable lost)(void) __attribute__((swift_name("lost")));
|
||||||
|
@property void (^ _Nullable transceiver)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)) __attribute__((swift_name("transceiver")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met")))
|
||||||
|
@interface NFCSDKMet : NFCSDKKotlinEnum<NFCSDKMet *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKMetCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKMet *single __attribute__((swift_name("single")));
|
||||||
|
@property (class, readonly) NFCSDKMet *voltage __attribute__((swift_name("voltage")));
|
||||||
|
@property (class, readonly) NFCSDKMet *timer __attribute__((swift_name("timer")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKMet *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKMet *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met.Companion")))
|
||||||
|
@interface NFCSDKMetCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKMetCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKMet * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCTag")))
|
||||||
|
@protocol NFCSDKNFCTag
|
||||||
|
@required
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)transceiveData:(NFCSDKKotlinByteArray *)data completionHandler:(void (^)(NFCSDKKotlinByteArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("transceive(data:completionHandler:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Parameters")))
|
||||||
|
@interface NFCSDKParameters : NFCSDKBase
|
||||||
|
- (instancetype)initWithMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("init(method:clampingVoltage:totalMotorRuntime:p1:p2:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKParameters *)doCopyMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("doCopy(method:clampingVoltage:totalMotorRuntime:p1:p2:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCV *clampingVoltage __attribute__((swift_name("clampingVoltage")));
|
||||||
|
@property (readonly) NFCSDKMet *method __attribute__((swift_name("method")));
|
||||||
|
@property (readonly) uint16_t p1 __attribute__((swift_name("p1")));
|
||||||
|
@property (readonly) uint16_t p2 __attribute__((swift_name("p2")));
|
||||||
|
@property (readonly) uint16_t totalMotorRuntime __attribute__((swift_name("totalMotorRuntime")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Result")))
|
||||||
|
@interface NFCSDKResult : NFCSDKKotlinEnum<NFCSDKResult *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly) NFCSDKResult *ok __attribute__((swift_name("ok")));
|
||||||
|
@property (class, readonly) NFCSDKResult *error __attribute__((swift_name("error")));
|
||||||
|
@property (class, readonly) NFCSDKResult *unauthorized __attribute__((swift_name("unauthorized")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKResult *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKResult *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType")))
|
||||||
|
@interface NFCSDKUserType : NFCSDKKotlinEnum<NFCSDKUserType *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKUserTypeCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *normal __attribute__((swift_name("normal")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *supervisor __attribute__((swift_name("supervisor")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKUserType *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKUserType *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType.Companion")))
|
||||||
|
@interface NFCSDKUserTypeCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKUserTypeCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKUserType * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("CommonTask")))
|
||||||
|
@interface NFCSDKCommonTask : NFCSDKBase
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CallFunctionTask")))
|
||||||
|
@interface NFCSDKCallFunctionTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("init(password:data:index:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKCallFunctionTask *)doCopyPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("doCopy(password:data:index:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSArray<NFCSDKUInt *> *data __attribute__((swift_name("data")));
|
||||||
|
@property (readonly) uint8_t index __attribute__((swift_name("index")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlTask")))
|
||||||
|
@interface NFCSDKControlTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("init(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlTask *)doCopyPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("doCopy(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^chargeCallback)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable) __attribute__((swift_name("chargeCallback")));
|
||||||
|
@property (readonly) void (^controlCallback)(NFCSDKResult *, NFCSDKControlProgress * _Nullable) __attribute__((swift_name("controlCallback")));
|
||||||
|
@property (readonly) NFCSDKCtrl *ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) BOOL ignoreProgress __attribute__((swift_name("ignoreProgress")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("GetLogTask")))
|
||||||
|
@interface NFCSDKGetLogTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("init(password:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKGetLogTask *)doCopyPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("doCopy(password:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCCallbacks")))
|
||||||
|
@protocol NFCSDKNFCCallbacks
|
||||||
|
@required
|
||||||
|
- (void)onFinished __attribute__((swift_name("onFinished()")));
|
||||||
|
- (BOOL)onLoopInfo:(NFCSDKDeviceInfo *)info rssi:(NFCSDKUInt * _Nullable)rssi __attribute__((swift_name("onLoop(info:rssi:)")));
|
||||||
|
- (void)onLost __attribute__((swift_name("onLost()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCHelper")))
|
||||||
|
@interface NFCSDKNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)initWithCallback:(id<NFCSDKNFCCallbacks>)callback __attribute__((swift_name("init(callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getNFCTagParameter:(id _Nullable)parameter completionHandler:(void (^)(id<NFCSDKNFCTag> _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getNFCTag(parameter:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processParameter:(id _Nullable)parameter completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(parameter:completionHandler:)")));
|
||||||
|
- (void)setTaskTask:(NFCSDKCommonTask * _Nullable)task __attribute__((swift_name("setTask(task:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetKeyTask")))
|
||||||
|
@interface NFCSDKSetKeyTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:sKey:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetKeyTask *)doCopyPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:sKey:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@property (readonly) NSString *sKey __attribute__((swift_name("sKey")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetParametersTask")))
|
||||||
|
@interface NFCSDKSetParametersTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:parameters:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetParametersTask *)doCopyPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:parameters:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NFCSDKParameters *parameters __attribute__((swift_name("parameters")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Platform_iosKt")))
|
||||||
|
@interface NFCSDKPlatform_iosKt : NFCSDKBase
|
||||||
|
+ (int64_t)platformGetCurrentTimestamp __attribute__((swift_name("platformGetCurrentTimestamp()")));
|
||||||
|
+ (NSString *)platformGetName __attribute__((swift_name("platformGetName()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinEnumCompanion")))
|
||||||
|
@interface NFCSDKKotlinEnumCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinEnumCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinArray")))
|
||||||
|
@interface NFCSDKKotlinArray<T> : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (id<NFCSDKKotlinIterator>)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinThrowable")))
|
||||||
|
@interface NFCSDKKotlinThrowable : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.experimental.ExperimentalNativeApi
|
||||||
|
*/
|
||||||
|
- (NFCSDKKotlinArray<NSString *> *)getStackTrace __attribute__((swift_name("getStackTrace()")));
|
||||||
|
- (void)printStackTrace __attribute__((swift_name("printStackTrace()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKKotlinThrowable * _Nullable cause __attribute__((swift_name("cause")));
|
||||||
|
@property (readonly) NSString * _Nullable message __attribute__((swift_name("message")));
|
||||||
|
- (NSError *)asError __attribute__((swift_name("asError()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinException")))
|
||||||
|
@interface NFCSDKKotlinException : NFCSDKKotlinThrowable
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinRuntimeException")))
|
||||||
|
@interface NFCSDKKotlinRuntimeException : NFCSDKKotlinException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIllegalStateException")))
|
||||||
|
@interface NFCSDKKotlinIllegalStateException : NFCSDKKotlinRuntimeException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.SinceKotlin(version="1.4")
|
||||||
|
*/
|
||||||
|
__attribute__((swift_name("KotlinCancellationException")))
|
||||||
|
@interface NFCSDKKotlinCancellationException : NFCSDKKotlinIllegalStateException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinByteArray")))
|
||||||
|
@interface NFCSDKKotlinByteArray : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)")));
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(NFCSDKByte *(^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (NFCSDKKotlinByteIterator *)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinPair")))
|
||||||
|
@interface NFCSDKKotlinPair<__covariant A, __covariant B> : NFCSDKBase
|
||||||
|
- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKKotlinPair<A, B> *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)")));
|
||||||
|
- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)")));
|
||||||
|
- (int32_t)hashCode __attribute__((swift_name("hashCode()")));
|
||||||
|
- (NSString *)toString __attribute__((swift_name("toString()")));
|
||||||
|
@property (readonly) A _Nullable first __attribute__((swift_name("first")));
|
||||||
|
@property (readonly) B _Nullable second __attribute__((swift_name("second")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinUnit")))
|
||||||
|
@interface NFCSDKKotlinUnit : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)unit __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinUnit *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIterator")))
|
||||||
|
@protocol NFCSDKKotlinIterator
|
||||||
|
@required
|
||||||
|
- (BOOL)hasNext __attribute__((swift_name("hasNext()")));
|
||||||
|
- (id _Nullable)next __attribute__((swift_name("next()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByteIterator")))
|
||||||
|
@interface NFCSDKKotlinByteIterator : NFCSDKBase <NFCSDKKotlinIterator>
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (NFCSDKByte *)next __attribute__((swift_name("next()")));
|
||||||
|
- (int8_t)nextByte __attribute__((swift_name("nextByte()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
#pragma pop_macro("_Nullable_result")
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
<array>
|
||||||
|
<string>iPhoneOS</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>12.0</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
framework module "NFCSDK" {
|
||||||
|
umbrella header "NFCSDK.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
|
||||||
|
use Foundation
|
||||||
|
}
|
||||||
BIN
NFCLockDemoV2/Platforms/iOS/Frameworks/NFCSDK.framework/NFCSDK
Executable file
BIN
NFCLockDemoV2/Platforms/iOS/Frameworks/NFCSDK.framework/NFCSDK
Executable file
Binary file not shown.
707
NfcLock.Ios.Binding/NFCSDK.framework/Headers/NFCSDK.h
Normal file
707
NfcLock.Ios.Binding/NFCSDK.framework/Headers/NFCSDK.h
Normal file
@ -0,0 +1,707 @@
|
|||||||
|
#import <Foundation/NSArray.h>
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
#import <Foundation/NSError.h>
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
#import <Foundation/NSSet.h>
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
#import <Foundation/NSValue.h>
|
||||||
|
|
||||||
|
@class NFCSDKCV, NFCSDKCVCompanion, NFCSDKCallFunctionTask, NFCSDKChargeLevel, NFCSDKCommonTask, NFCSDKControlProgress, NFCSDKControlTask, NFCSDKCtrl, NFCSDKCtrlCompanion, NFCSDKDevice, NFCSDKDeviceInfo, NFCSDKDeviceLog, NFCSDKDeviceManager, NFCSDKGetLogTask, NFCSDKKotlinArray<T>, NFCSDKKotlinByteArray, NFCSDKKotlinByteIterator, NFCSDKKotlinEnum<E>, NFCSDKKotlinEnumCompanion, NFCSDKKotlinException, NFCSDKKotlinIllegalStateException, NFCSDKKotlinPair<__covariant A, __covariant B>, NFCSDKKotlinRuntimeException, NFCSDKKotlinThrowable, NFCSDKKotlinUnit, NFCSDKMet, NFCSDKMetCompanion, NFCSDKParameters, NFCSDKResult, NFCSDKSetKeyTask, NFCSDKSetParametersTask, NFCSDKUserType, NFCSDKUserTypeCompanion;
|
||||||
|
|
||||||
|
@protocol NFCSDKKotlinComparable, NFCSDKKotlinIterator, NFCSDKNFCCallbacks, NFCSDKNFCTag;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||||
|
#pragma clang diagnostic ignored "-Wincompatible-property-type"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
|
||||||
|
#pragma push_macro("_Nullable_result")
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
#undef _Nullable_result
|
||||||
|
#define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBase")))
|
||||||
|
@interface NFCSDKBase : NSObject
|
||||||
|
- (instancetype)init __attribute__((unavailable));
|
||||||
|
+ (instancetype)new __attribute__((unavailable));
|
||||||
|
+ (void)initialize __attribute__((objc_requires_super));
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NFCSDKBase (NFCSDKBaseCopying) <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableSet")))
|
||||||
|
@interface NFCSDKMutableSet<ObjectType> : NSMutableSet<ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableDictionary")))
|
||||||
|
@interface NFCSDKMutableDictionary<KeyType, ObjectType> : NSMutableDictionary<KeyType, ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSError (NSErrorNFCSDKKotlinException)
|
||||||
|
@property (readonly) id _Nullable kotlinException;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinNumber")))
|
||||||
|
@interface NFCSDKNumber : NSNumber
|
||||||
|
- (instancetype)initWithChar:(char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithShort:(short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInt:(int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLong:(long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithChar:(char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithShort:(short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInt:(int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLong:(long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByte")))
|
||||||
|
@interface NFCSDKByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithChar:(char)value;
|
||||||
|
+ (instancetype)numberWithChar:(char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUByte")))
|
||||||
|
@interface NFCSDKUByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value;
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinShort")))
|
||||||
|
@interface NFCSDKShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithShort:(short)value;
|
||||||
|
+ (instancetype)numberWithShort:(short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUShort")))
|
||||||
|
@interface NFCSDKUShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value;
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinInt")))
|
||||||
|
@interface NFCSDKInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithInt:(int)value;
|
||||||
|
+ (instancetype)numberWithInt:(int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUInt")))
|
||||||
|
@interface NFCSDKUInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value;
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinLong")))
|
||||||
|
@interface NFCSDKLong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithLongLong:(long long)value;
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinULong")))
|
||||||
|
@interface NFCSDKULong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinFloat")))
|
||||||
|
@interface NFCSDKFloat : NFCSDKNumber
|
||||||
|
- (instancetype)initWithFloat:(float)value;
|
||||||
|
+ (instancetype)numberWithFloat:(float)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinDouble")))
|
||||||
|
@interface NFCSDKDouble : NFCSDKNumber
|
||||||
|
- (instancetype)initWithDouble:(double)value;
|
||||||
|
+ (instancetype)numberWithDouble:(double)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBoolean")))
|
||||||
|
@interface NFCSDKBoolean : NFCSDKNumber
|
||||||
|
- (instancetype)initWithBool:(BOOL)value;
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinComparable")))
|
||||||
|
@protocol NFCSDKKotlinComparable
|
||||||
|
@required
|
||||||
|
- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinEnum")))
|
||||||
|
@interface NFCSDKKotlinEnum<E> : NFCSDKBase <NFCSDKKotlinComparable>
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKKotlinEnumCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NSString *name __attribute__((swift_name("name")));
|
||||||
|
@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV")))
|
||||||
|
@interface NFCSDKCV : NFCSDKKotlinEnum<NFCSDKCV *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCVCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCV *low __attribute__((swift_name("low")));
|
||||||
|
@property (class, readonly) NFCSDKCV *medium __attribute__((swift_name("medium")));
|
||||||
|
@property (class, readonly) NFCSDKCV *high __attribute__((swift_name("high")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCV *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCV *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint16_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV.Companion")))
|
||||||
|
@interface NFCSDKCVCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCVCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCV * _Nullable)fromValueValue:(uint16_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ChargeLevel")))
|
||||||
|
@interface NFCSDKChargeLevel : NFCSDKBase
|
||||||
|
- (instancetype)initWithLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("init(level:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKChargeLevel *)doCopyLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("doCopy(level:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t level __attribute__((swift_name("level")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlProgress")))
|
||||||
|
@interface NFCSDKControlProgress : NFCSDKBase
|
||||||
|
- (instancetype)initWithProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("init(progress:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlProgress *)doCopyProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("doCopy(progress:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t progress __attribute__((swift_name("progress")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl")))
|
||||||
|
@interface NFCSDKCtrl : NFCSDKKotlinEnum<NFCSDKCtrl *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCtrlCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *lock __attribute__((swift_name("lock")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *unlock __attribute__((swift_name("unlock")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCtrl *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCtrl *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl.Companion")))
|
||||||
|
@interface NFCSDKCtrlCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCtrlCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCtrl * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Device")))
|
||||||
|
@interface NFCSDKDevice : NFCSDKBase
|
||||||
|
- (instancetype)initWithS:(uint32_t)s __attribute__((swift_name("init(s:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDevice *)doCopyS:(uint32_t)s __attribute__((swift_name("doCopy(s:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (uint32_t)shiftC:(uint16_t)c __attribute__((swift_name("shift(c:)")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint32_t s __attribute__((swift_name("s")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceInfo")))
|
||||||
|
@interface NFCSDKDeviceInfo : NFCSDKBase
|
||||||
|
- (instancetype)initWithId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("init(id:isNew:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceInfo *)doCopyId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("doCopy(id:isNew:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint64_t id __attribute__((swift_name("id")));
|
||||||
|
@property (readonly) BOOL isNew __attribute__((swift_name("isNew")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceLog")))
|
||||||
|
@interface NFCSDKDeviceLog : NFCSDKBase
|
||||||
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("init(timestamp:username:ctrl:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceLog *)doCopyTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("doCopy(timestamp:username:ctrl:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCtrl * _Nullable ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) uint64_t timestamp __attribute__((swift_name("timestamp")));
|
||||||
|
@property (readonly) NSString *username __attribute__((swift_name("username")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceManager")))
|
||||||
|
@interface NFCSDKDeviceManager : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)deviceManager __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKDeviceManager *shared __attribute__((swift_name("shared")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)controlT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key ctrl:(NFCSDKCtrl *)ctrl completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("control(t:d:key:ctrl:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)encKey:(NFCSDKKotlinByteArray *)key info:(NFCSDKDeviceInfo *)info __attribute__((swift_name("enc(key:info:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getChargeLevelT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKChargeLevel *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getChargeLevel(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getControlProgressT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKControlProgress *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getControlProgress(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getInfoT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDeviceInfo *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getInfo(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getLogT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKDeviceLog *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getLog(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getRssiT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKUInt *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getRssi(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getVersionT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKUInt *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getVersion(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)doInitT:(id<NFCSDKNFCTag>)t completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDevice *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doInit(t:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)selectT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d type:(NFCSDKUserType *)type completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("select(t:d:type:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setKeyT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d info:(NFCSDKDeviceInfo *)info key:(NFCSDKKotlinByteArray *)key sKey:(NFCSDKKotlinByteArray *)sKey completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setKey(t:d:info:key:sKey:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setParametersT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key p:(NFCSDKParameters *)p completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setParameters(t:d:key:p:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)toFixed16Input:(NSString *)input __attribute__((swift_name("toFixed16(input:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("IOSNFCHelper")))
|
||||||
|
@interface NFCSDKIOSNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (void)controlPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl __attribute__((swift_name("control(password:ctrl:)")));
|
||||||
|
- (void)lockPassword:(NSString *)password __attribute__((swift_name("lock(password:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(completionHandler:)")));
|
||||||
|
- (void)setChargingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setChargingCb(cb:)")));
|
||||||
|
- (void)setControllingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setControllingCb(cb:)")));
|
||||||
|
- (void)setFinishedCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setFinishedCb(cb:)")));
|
||||||
|
- (void)setLoopCbCb:(NFCSDKBoolean *(^)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setLoopCb(cb:)")));
|
||||||
|
- (void)setLostCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setLostCb(cb:)")));
|
||||||
|
- (void)setTransceiverT:(void (^ _Nullable)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)))t __attribute__((swift_name("setTransceiver(t:)")));
|
||||||
|
- (void)unlockPassword:(NSString *)password __attribute__((swift_name("unlock(password:)")));
|
||||||
|
@property void (^ _Nullable charging)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("charging")));
|
||||||
|
@property void (^ _Nullable controlling)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("controlling")));
|
||||||
|
@property void (^ _Nullable finished)(void) __attribute__((swift_name("finished")));
|
||||||
|
@property NFCSDKBoolean *(^ _Nullable loop)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable) __attribute__((swift_name("loop")));
|
||||||
|
@property void (^ _Nullable lost)(void) __attribute__((swift_name("lost")));
|
||||||
|
@property void (^ _Nullable transceiver)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)) __attribute__((swift_name("transceiver")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met")))
|
||||||
|
@interface NFCSDKMet : NFCSDKKotlinEnum<NFCSDKMet *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKMetCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKMet *single __attribute__((swift_name("single")));
|
||||||
|
@property (class, readonly) NFCSDKMet *voltage __attribute__((swift_name("voltage")));
|
||||||
|
@property (class, readonly) NFCSDKMet *timer __attribute__((swift_name("timer")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKMet *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKMet *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met.Companion")))
|
||||||
|
@interface NFCSDKMetCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKMetCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKMet * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCTag")))
|
||||||
|
@protocol NFCSDKNFCTag
|
||||||
|
@required
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)transceiveData:(NFCSDKKotlinByteArray *)data completionHandler:(void (^)(NFCSDKKotlinByteArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("transceive(data:completionHandler:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Parameters")))
|
||||||
|
@interface NFCSDKParameters : NFCSDKBase
|
||||||
|
- (instancetype)initWithMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("init(method:clampingVoltage:totalMotorRuntime:p1:p2:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKParameters *)doCopyMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("doCopy(method:clampingVoltage:totalMotorRuntime:p1:p2:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCV *clampingVoltage __attribute__((swift_name("clampingVoltage")));
|
||||||
|
@property (readonly) NFCSDKMet *method __attribute__((swift_name("method")));
|
||||||
|
@property (readonly) uint16_t p1 __attribute__((swift_name("p1")));
|
||||||
|
@property (readonly) uint16_t p2 __attribute__((swift_name("p2")));
|
||||||
|
@property (readonly) uint16_t totalMotorRuntime __attribute__((swift_name("totalMotorRuntime")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Result")))
|
||||||
|
@interface NFCSDKResult : NFCSDKKotlinEnum<NFCSDKResult *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly) NFCSDKResult *ok __attribute__((swift_name("ok")));
|
||||||
|
@property (class, readonly) NFCSDKResult *error __attribute__((swift_name("error")));
|
||||||
|
@property (class, readonly) NFCSDKResult *unauthorized __attribute__((swift_name("unauthorized")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKResult *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKResult *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType")))
|
||||||
|
@interface NFCSDKUserType : NFCSDKKotlinEnum<NFCSDKUserType *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKUserTypeCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *normal __attribute__((swift_name("normal")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *supervisor __attribute__((swift_name("supervisor")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKUserType *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKUserType *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType.Companion")))
|
||||||
|
@interface NFCSDKUserTypeCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKUserTypeCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKUserType * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("CommonTask")))
|
||||||
|
@interface NFCSDKCommonTask : NFCSDKBase
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CallFunctionTask")))
|
||||||
|
@interface NFCSDKCallFunctionTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("init(password:data:index:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKCallFunctionTask *)doCopyPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("doCopy(password:data:index:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSArray<NFCSDKUInt *> *data __attribute__((swift_name("data")));
|
||||||
|
@property (readonly) uint8_t index __attribute__((swift_name("index")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlTask")))
|
||||||
|
@interface NFCSDKControlTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("init(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlTask *)doCopyPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("doCopy(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^chargeCallback)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable) __attribute__((swift_name("chargeCallback")));
|
||||||
|
@property (readonly) void (^controlCallback)(NFCSDKResult *, NFCSDKControlProgress * _Nullable) __attribute__((swift_name("controlCallback")));
|
||||||
|
@property (readonly) NFCSDKCtrl *ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) BOOL ignoreProgress __attribute__((swift_name("ignoreProgress")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("GetLogTask")))
|
||||||
|
@interface NFCSDKGetLogTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("init(password:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKGetLogTask *)doCopyPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("doCopy(password:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCCallbacks")))
|
||||||
|
@protocol NFCSDKNFCCallbacks
|
||||||
|
@required
|
||||||
|
- (void)onFinished __attribute__((swift_name("onFinished()")));
|
||||||
|
- (BOOL)onLoopInfo:(NFCSDKDeviceInfo *)info rssi:(NFCSDKUInt * _Nullable)rssi __attribute__((swift_name("onLoop(info:rssi:)")));
|
||||||
|
- (void)onLost __attribute__((swift_name("onLost()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCHelper")))
|
||||||
|
@interface NFCSDKNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)initWithCallback:(id<NFCSDKNFCCallbacks>)callback __attribute__((swift_name("init(callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getNFCTagParameter:(id _Nullable)parameter completionHandler:(void (^)(id<NFCSDKNFCTag> _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getNFCTag(parameter:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processParameter:(id _Nullable)parameter completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(parameter:completionHandler:)")));
|
||||||
|
- (void)setTaskTask:(NFCSDKCommonTask * _Nullable)task __attribute__((swift_name("setTask(task:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetKeyTask")))
|
||||||
|
@interface NFCSDKSetKeyTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:sKey:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetKeyTask *)doCopyPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:sKey:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@property (readonly) NSString *sKey __attribute__((swift_name("sKey")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetParametersTask")))
|
||||||
|
@interface NFCSDKSetParametersTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:parameters:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetParametersTask *)doCopyPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:parameters:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NFCSDKParameters *parameters __attribute__((swift_name("parameters")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Platform_iosKt")))
|
||||||
|
@interface NFCSDKPlatform_iosKt : NFCSDKBase
|
||||||
|
+ (int64_t)platformGetCurrentTimestamp __attribute__((swift_name("platformGetCurrentTimestamp()")));
|
||||||
|
+ (NSString *)platformGetName __attribute__((swift_name("platformGetName()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinEnumCompanion")))
|
||||||
|
@interface NFCSDKKotlinEnumCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinEnumCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinArray")))
|
||||||
|
@interface NFCSDKKotlinArray<T> : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (id<NFCSDKKotlinIterator>)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinThrowable")))
|
||||||
|
@interface NFCSDKKotlinThrowable : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.experimental.ExperimentalNativeApi
|
||||||
|
*/
|
||||||
|
- (NFCSDKKotlinArray<NSString *> *)getStackTrace __attribute__((swift_name("getStackTrace()")));
|
||||||
|
- (void)printStackTrace __attribute__((swift_name("printStackTrace()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKKotlinThrowable * _Nullable cause __attribute__((swift_name("cause")));
|
||||||
|
@property (readonly) NSString * _Nullable message __attribute__((swift_name("message")));
|
||||||
|
- (NSError *)asError __attribute__((swift_name("asError()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinException")))
|
||||||
|
@interface NFCSDKKotlinException : NFCSDKKotlinThrowable
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinRuntimeException")))
|
||||||
|
@interface NFCSDKKotlinRuntimeException : NFCSDKKotlinException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIllegalStateException")))
|
||||||
|
@interface NFCSDKKotlinIllegalStateException : NFCSDKKotlinRuntimeException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.SinceKotlin(version="1.4")
|
||||||
|
*/
|
||||||
|
__attribute__((swift_name("KotlinCancellationException")))
|
||||||
|
@interface NFCSDKKotlinCancellationException : NFCSDKKotlinIllegalStateException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinByteArray")))
|
||||||
|
@interface NFCSDKKotlinByteArray : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)")));
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(NFCSDKByte *(^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (NFCSDKKotlinByteIterator *)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinPair")))
|
||||||
|
@interface NFCSDKKotlinPair<__covariant A, __covariant B> : NFCSDKBase
|
||||||
|
- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKKotlinPair<A, B> *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)")));
|
||||||
|
- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)")));
|
||||||
|
- (int32_t)hashCode __attribute__((swift_name("hashCode()")));
|
||||||
|
- (NSString *)toString __attribute__((swift_name("toString()")));
|
||||||
|
@property (readonly) A _Nullable first __attribute__((swift_name("first")));
|
||||||
|
@property (readonly) B _Nullable second __attribute__((swift_name("second")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinUnit")))
|
||||||
|
@interface NFCSDKKotlinUnit : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)unit __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinUnit *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIterator")))
|
||||||
|
@protocol NFCSDKKotlinIterator
|
||||||
|
@required
|
||||||
|
- (BOOL)hasNext __attribute__((swift_name("hasNext()")));
|
||||||
|
- (id _Nullable)next __attribute__((swift_name("next()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByteIterator")))
|
||||||
|
@interface NFCSDKKotlinByteIterator : NFCSDKBase <NFCSDKKotlinIterator>
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (NFCSDKByte *)next __attribute__((swift_name("next()")));
|
||||||
|
- (int8_t)nextByte __attribute__((swift_name("nextByte()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
#pragma pop_macro("_Nullable_result")
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
35
NfcLock.Ios.Binding/NFCSDK.framework/Info.plist
Normal file
35
NfcLock.Ios.Binding/NFCSDK.framework/Info.plist
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
<array>
|
||||||
|
<string>iPhoneOS</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>12.0</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
framework module "NFCSDK" {
|
||||||
|
umbrella header "NFCSDK.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
|
||||||
|
use Foundation
|
||||||
|
}
|
||||||
BIN
NfcLock.Ios.Binding/NFCSDK.framework/NFCSDK
Executable file
BIN
NfcLock.Ios.Binding/NFCSDK.framework/NFCSDK
Executable file
Binary file not shown.
@ -35,4 +35,20 @@
|
|||||||
<SmartLink>False</SmartLink>
|
<SmartLink>False</SmartLink>
|
||||||
</NativeReference>
|
</NativeReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
|
||||||
|
<NativeReference Include="NFCSDK.framework">
|
||||||
|
<Kind>Framework</Kind>
|
||||||
|
<SmartLink>False</SmartLink>
|
||||||
|
<Frameworks>CoreNFC Foundation</Frameworks>
|
||||||
|
</NativeReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
|
||||||
|
<NativeReference Include="shared_nfc_kmp.xcframework">
|
||||||
|
<Kind>Framework</Kind>
|
||||||
|
<SmartLink>False</SmartLink>
|
||||||
|
<Frameworks>CoreNFC Foundation</Frameworks>
|
||||||
|
</NativeReference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
44
NfcLock.Ios.Binding/NfcLockFramework.xcframework/Info.plist
Normal file
44
NfcLock.Ios.Binding/NfcLockFramework.xcframework/Info.plist
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>AvailableLibraries</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>BinaryPath</key>
|
||||||
|
<string>NfcLockFramework.framework/NfcLockFramework</string>
|
||||||
|
<key>LibraryIdentifier</key>
|
||||||
|
<string>ios-arm64_x86_64-simulator</string>
|
||||||
|
<key>LibraryPath</key>
|
||||||
|
<string>NfcLockFramework.framework</string>
|
||||||
|
<key>SupportedArchitectures</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
<string>x86_64</string>
|
||||||
|
</array>
|
||||||
|
<key>SupportedPlatform</key>
|
||||||
|
<string>ios</string>
|
||||||
|
<key>SupportedPlatformVariant</key>
|
||||||
|
<string>simulator</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BinaryPath</key>
|
||||||
|
<string>NfcLockFramework.framework/NfcLockFramework</string>
|
||||||
|
<key>LibraryIdentifier</key>
|
||||||
|
<string>ios-arm64</string>
|
||||||
|
<key>LibraryPath</key>
|
||||||
|
<string>NfcLockFramework.framework</string>
|
||||||
|
<key>SupportedArchitectures</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
<key>SupportedPlatform</key>
|
||||||
|
<string>ios</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>XFWK</string>
|
||||||
|
<key>XCFrameworkFormatVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Binary file not shown.
@ -0,0 +1,585 @@
|
|||||||
|
{
|
||||||
|
"ABIRoot": {
|
||||||
|
"kind": "Root",
|
||||||
|
"name": "NfcLockFramework",
|
||||||
|
"printedName": "NfcLockFramework",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "CoreNFC",
|
||||||
|
"printedName": "CoreNFC",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "NFCSDK",
|
||||||
|
"printedName": "NFCSDK",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeDecl",
|
||||||
|
"name": "NFCManager",
|
||||||
|
"printedName": "NFCManager",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "startScan",
|
||||||
|
"printedName": "startScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)startScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9startScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan(errorMessage:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScanWithErrorMessage:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScan12errorMessageySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "endScanWithErrorMessage:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setLoopCb",
|
||||||
|
"printedName": "setLoopCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setLoopCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9setLoopCb2cbySbSS_SbSitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setLoopCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setFinishedCb",
|
||||||
|
"printedName": "setFinishedCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "() -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setFinishedCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setFinishedCb2cbyyyc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setFinishedCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setChargingCb",
|
||||||
|
"printedName": "setChargingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setChargingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setChargingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setChargingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setControllingCb",
|
||||||
|
"printedName": "setControllingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setControllingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16setControllingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setControllingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "lock",
|
||||||
|
"printedName": "lock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)lockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC4lock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "lockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "unlock",
|
||||||
|
"printedName": "unlock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)unlockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC6unlock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "unlockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSessionDidBecomeActive",
|
||||||
|
"printedName": "tagReaderSessionDidBecomeActive(_:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didInvalidateWithError:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Error",
|
||||||
|
"printedName": "any Swift.Error",
|
||||||
|
"usr": "s:s5ErrorP"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didDetect:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Array",
|
||||||
|
"printedName": "[CoreNFC.NFCTag]",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTag",
|
||||||
|
"printedName": "CoreNFC.NFCTag",
|
||||||
|
"usr": "s:7CoreNFC6NFCTagO"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"usr": "s:Sa"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Class",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"objc_name": "NFCManager",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"superclassUsr": "c:objc(cs)NSObject",
|
||||||
|
"hasMissingDesignatedInitializers": true,
|
||||||
|
"inheritsConvenienceInitializers": true,
|
||||||
|
"superclassNames": [
|
||||||
|
"ObjectiveC.NSObject"
|
||||||
|
],
|
||||||
|
"conformances": [
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "NFCTagReaderSessionDelegate",
|
||||||
|
"printedName": "NFCTagReaderSessionDelegate",
|
||||||
|
"usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP",
|
||||||
|
"mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Copyable",
|
||||||
|
"printedName": "Copyable",
|
||||||
|
"usr": "s:s8CopyableP",
|
||||||
|
"mangledName": "$ss8CopyableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Escapable",
|
||||||
|
"printedName": "Escapable",
|
||||||
|
"usr": "s:s9EscapableP",
|
||||||
|
"mangledName": "$ss9EscapableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Equatable",
|
||||||
|
"printedName": "Equatable",
|
||||||
|
"usr": "s:SQ",
|
||||||
|
"mangledName": "$sSQ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Hashable",
|
||||||
|
"printedName": "Hashable",
|
||||||
|
"usr": "s:SH",
|
||||||
|
"mangledName": "$sSH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CVarArg",
|
||||||
|
"printedName": "CVarArg",
|
||||||
|
"usr": "s:s7CVarArgP",
|
||||||
|
"mangledName": "$ss7CVarArgP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"printedName": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
||||||
|
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObserving",
|
||||||
|
"printedName": "_KeyValueCodingAndObserving",
|
||||||
|
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
||||||
|
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomStringConvertible",
|
||||||
|
"printedName": "CustomStringConvertible",
|
||||||
|
"usr": "s:s23CustomStringConvertibleP",
|
||||||
|
"mangledName": "$ss23CustomStringConvertibleP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomDebugStringConvertible",
|
||||||
|
"printedName": "CustomDebugStringConvertible",
|
||||||
|
"usr": "s:s28CustomDebugStringConvertibleP",
|
||||||
|
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"json_format_version": 8
|
||||||
|
},
|
||||||
|
"ConstValues": [
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "BooleanLiteral",
|
||||||
|
"offset": 452,
|
||||||
|
"length": 4,
|
||||||
|
"value": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "StringLiteral",
|
||||||
|
"offset": 479,
|
||||||
|
"length": 2,
|
||||||
|
"value": "\"\""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target arm64-apple-ios16.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
Binary file not shown.
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target arm64-apple-ios16.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,585 @@
|
|||||||
|
{
|
||||||
|
"ABIRoot": {
|
||||||
|
"kind": "Root",
|
||||||
|
"name": "NfcLockFramework",
|
||||||
|
"printedName": "NfcLockFramework",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "CoreNFC",
|
||||||
|
"printedName": "CoreNFC",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "NFCSDK",
|
||||||
|
"printedName": "NFCSDK",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeDecl",
|
||||||
|
"name": "NFCManager",
|
||||||
|
"printedName": "NFCManager",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "startScan",
|
||||||
|
"printedName": "startScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)startScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9startScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan(errorMessage:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScanWithErrorMessage:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScan12errorMessageySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "endScanWithErrorMessage:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setLoopCb",
|
||||||
|
"printedName": "setLoopCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setLoopCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9setLoopCb2cbySbSS_SbSitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setLoopCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setFinishedCb",
|
||||||
|
"printedName": "setFinishedCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "() -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setFinishedCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setFinishedCb2cbyyyc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setFinishedCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setChargingCb",
|
||||||
|
"printedName": "setChargingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setChargingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setChargingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setChargingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setControllingCb",
|
||||||
|
"printedName": "setControllingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setControllingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16setControllingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setControllingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "lock",
|
||||||
|
"printedName": "lock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)lockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC4lock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "lockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "unlock",
|
||||||
|
"printedName": "unlock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)unlockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC6unlock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "unlockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSessionDidBecomeActive",
|
||||||
|
"printedName": "tagReaderSessionDidBecomeActive(_:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didInvalidateWithError:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Error",
|
||||||
|
"printedName": "any Swift.Error",
|
||||||
|
"usr": "s:s5ErrorP"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didDetect:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Array",
|
||||||
|
"printedName": "[CoreNFC.NFCTag]",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTag",
|
||||||
|
"printedName": "CoreNFC.NFCTag",
|
||||||
|
"usr": "s:7CoreNFC6NFCTagO"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"usr": "s:Sa"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Class",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"objc_name": "NFCManager",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"superclassUsr": "c:objc(cs)NSObject",
|
||||||
|
"hasMissingDesignatedInitializers": true,
|
||||||
|
"inheritsConvenienceInitializers": true,
|
||||||
|
"superclassNames": [
|
||||||
|
"ObjectiveC.NSObject"
|
||||||
|
],
|
||||||
|
"conformances": [
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "NFCTagReaderSessionDelegate",
|
||||||
|
"printedName": "NFCTagReaderSessionDelegate",
|
||||||
|
"usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP",
|
||||||
|
"mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Copyable",
|
||||||
|
"printedName": "Copyable",
|
||||||
|
"usr": "s:s8CopyableP",
|
||||||
|
"mangledName": "$ss8CopyableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Escapable",
|
||||||
|
"printedName": "Escapable",
|
||||||
|
"usr": "s:s9EscapableP",
|
||||||
|
"mangledName": "$ss9EscapableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Equatable",
|
||||||
|
"printedName": "Equatable",
|
||||||
|
"usr": "s:SQ",
|
||||||
|
"mangledName": "$sSQ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Hashable",
|
||||||
|
"printedName": "Hashable",
|
||||||
|
"usr": "s:SH",
|
||||||
|
"mangledName": "$sSH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CVarArg",
|
||||||
|
"printedName": "CVarArg",
|
||||||
|
"usr": "s:s7CVarArgP",
|
||||||
|
"mangledName": "$ss7CVarArgP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"printedName": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
||||||
|
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObserving",
|
||||||
|
"printedName": "_KeyValueCodingAndObserving",
|
||||||
|
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
||||||
|
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomStringConvertible",
|
||||||
|
"printedName": "CustomStringConvertible",
|
||||||
|
"usr": "s:s23CustomStringConvertibleP",
|
||||||
|
"mangledName": "$ss23CustomStringConvertibleP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomDebugStringConvertible",
|
||||||
|
"printedName": "CustomDebugStringConvertible",
|
||||||
|
"usr": "s:s28CustomDebugStringConvertibleP",
|
||||||
|
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"json_format_version": 8
|
||||||
|
},
|
||||||
|
"ConstValues": [
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "BooleanLiteral",
|
||||||
|
"offset": 452,
|
||||||
|
"length": 4,
|
||||||
|
"value": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "StringLiteral",
|
||||||
|
"offset": 479,
|
||||||
|
"length": 2,
|
||||||
|
"value": "\"\""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target arm64-apple-ios16.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
Binary file not shown.
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target arm64-apple-ios16.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
@ -0,0 +1,585 @@
|
|||||||
|
{
|
||||||
|
"ABIRoot": {
|
||||||
|
"kind": "Root",
|
||||||
|
"name": "NfcLockFramework",
|
||||||
|
"printedName": "NfcLockFramework",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "CoreNFC",
|
||||||
|
"printedName": "CoreNFC",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Import",
|
||||||
|
"name": "NFCSDK",
|
||||||
|
"printedName": "NFCSDK",
|
||||||
|
"declKind": "Import",
|
||||||
|
"moduleName": "NfcLockFramework"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeDecl",
|
||||||
|
"name": "NFCManager",
|
||||||
|
"printedName": "NFCManager",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "startScan",
|
||||||
|
"printedName": "startScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)startScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9startScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScan",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScanyyFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "endScan",
|
||||||
|
"printedName": "endScan(errorMessage:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)endScanWithErrorMessage:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC7endScan12errorMessageySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "endScanWithErrorMessage:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setLoopCb",
|
||||||
|
"printedName": "setLoopCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Bool, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Bool",
|
||||||
|
"printedName": "Swift.Bool",
|
||||||
|
"usr": "s:Sb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setLoopCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC9setLoopCb2cbySbSS_SbSitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setLoopCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setFinishedCb",
|
||||||
|
"printedName": "setFinishedCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "() -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setFinishedCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setFinishedCb2cbyyyc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setFinishedCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setChargingCb",
|
||||||
|
"printedName": "setChargingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setChargingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC13setChargingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setChargingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "setControllingCb",
|
||||||
|
"printedName": "setControllingCb(cb:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeFunc",
|
||||||
|
"name": "Function",
|
||||||
|
"printedName": "(Swift.String, Swift.Int) -> ()",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Tuple",
|
||||||
|
"printedName": "(Swift.String, Swift.Int)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Int",
|
||||||
|
"printedName": "Swift.Int",
|
||||||
|
"usr": "s:Si"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)setControllingCbWithCb:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16setControllingCb2cbyySS_Sitc_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "setControllingCbWithCb:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "lock",
|
||||||
|
"printedName": "lock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)lockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC4lock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "lockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "unlock",
|
||||||
|
"printedName": "unlock(password:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "String",
|
||||||
|
"printedName": "Swift.String",
|
||||||
|
"usr": "s:SS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager(cm)unlockWithPassword:",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC6unlock8passwordySS_tFZ",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"static": true,
|
||||||
|
"objc_name": "unlockWithPassword:",
|
||||||
|
"declAttributes": [
|
||||||
|
"Final",
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSessionDidBecomeActive",
|
||||||
|
"printedName": "tagReaderSessionDidBecomeActive(_:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didInvalidateWithError:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Error",
|
||||||
|
"printedName": "any Swift.Error",
|
||||||
|
"usr": "s:s5ErrorP"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Function",
|
||||||
|
"name": "tagReaderSession",
|
||||||
|
"printedName": "tagReaderSession(_:didDetect:)",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Void",
|
||||||
|
"printedName": "()"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTagReaderSession",
|
||||||
|
"printedName": "CoreNFC.NFCTagReaderSession",
|
||||||
|
"usr": "c:objc(cs)NFCTagReaderSession"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "Array",
|
||||||
|
"printedName": "[CoreNFC.NFCTag]",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"kind": "TypeNominal",
|
||||||
|
"name": "NFCTag",
|
||||||
|
"printedName": "CoreNFC.NFCTag",
|
||||||
|
"usr": "s:7CoreNFC6NFCTagO"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"usr": "s:Sa"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Func",
|
||||||
|
"usr": "s:16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"RawDocComment"
|
||||||
|
],
|
||||||
|
"funcSelfKind": "NonMutating"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declKind": "Class",
|
||||||
|
"usr": "c:@M@NfcLockFramework@objc(cs)NFCManager",
|
||||||
|
"mangledName": "$s16NfcLockFramework10NFCManagerC",
|
||||||
|
"moduleName": "NfcLockFramework",
|
||||||
|
"objc_name": "NFCManager",
|
||||||
|
"declAttributes": [
|
||||||
|
"AccessControl",
|
||||||
|
"ObjC"
|
||||||
|
],
|
||||||
|
"superclassUsr": "c:objc(cs)NSObject",
|
||||||
|
"hasMissingDesignatedInitializers": true,
|
||||||
|
"inheritsConvenienceInitializers": true,
|
||||||
|
"superclassNames": [
|
||||||
|
"ObjectiveC.NSObject"
|
||||||
|
],
|
||||||
|
"conformances": [
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "NFCTagReaderSessionDelegate",
|
||||||
|
"printedName": "NFCTagReaderSessionDelegate",
|
||||||
|
"usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP",
|
||||||
|
"mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Copyable",
|
||||||
|
"printedName": "Copyable",
|
||||||
|
"usr": "s:s8CopyableP",
|
||||||
|
"mangledName": "$ss8CopyableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Escapable",
|
||||||
|
"printedName": "Escapable",
|
||||||
|
"usr": "s:s9EscapableP",
|
||||||
|
"mangledName": "$ss9EscapableP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Equatable",
|
||||||
|
"printedName": "Equatable",
|
||||||
|
"usr": "s:SQ",
|
||||||
|
"mangledName": "$sSQ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "Hashable",
|
||||||
|
"printedName": "Hashable",
|
||||||
|
"usr": "s:SH",
|
||||||
|
"mangledName": "$sSH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CVarArg",
|
||||||
|
"printedName": "CVarArg",
|
||||||
|
"usr": "s:s7CVarArgP",
|
||||||
|
"mangledName": "$ss7CVarArgP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"printedName": "_KeyValueCodingAndObservingPublishing",
|
||||||
|
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
||||||
|
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "_KeyValueCodingAndObserving",
|
||||||
|
"printedName": "_KeyValueCodingAndObserving",
|
||||||
|
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
||||||
|
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomStringConvertible",
|
||||||
|
"printedName": "CustomStringConvertible",
|
||||||
|
"usr": "s:s23CustomStringConvertibleP",
|
||||||
|
"mangledName": "$ss23CustomStringConvertibleP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "Conformance",
|
||||||
|
"name": "CustomDebugStringConvertible",
|
||||||
|
"printedName": "CustomDebugStringConvertible",
|
||||||
|
"usr": "s:s28CustomDebugStringConvertibleP",
|
||||||
|
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"json_format_version": 8
|
||||||
|
},
|
||||||
|
"ConstValues": [
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "BooleanLiteral",
|
||||||
|
"offset": 452,
|
||||||
|
"length": 4,
|
||||||
|
"value": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filePath": "\/Users\/apple\/Desktop\/code\/NFCLockDemoMaui\/NfcLock.Ios.Binding\/NfcLockFramework\/NfcLockFramework\/NfcLockFramework.swift",
|
||||||
|
"kind": "StringLiteral",
|
||||||
|
"offset": 479,
|
||||||
|
"length": 2,
|
||||||
|
"value": "\"\""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target x86_64-apple-ios16.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
Binary file not shown.
@ -0,0 +1,25 @@
|
|||||||
|
// swift-interface-format-version: 1.0
|
||||||
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
||||||
|
// swift-module-flags: -target x86_64-apple-ios16.6-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name NfcLockFramework
|
||||||
|
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
||||||
|
import CoreNFC
|
||||||
|
import NFCSDK
|
||||||
|
import Swift
|
||||||
|
import _Concurrency
|
||||||
|
import _StringProcessing
|
||||||
|
import _SwiftConcurrencyShims
|
||||||
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(NFCManager) public class NFCManager : ObjectiveC.NSObject, CoreNFC.NFCTagReaderSessionDelegate {
|
||||||
|
@objc public static func startScan()
|
||||||
|
@objc public static func endScan()
|
||||||
|
@objc public static func endScan(errorMessage: Swift.String)
|
||||||
|
@objc public static func setLoopCb(cb: @escaping (Swift.String, Swift.Bool, Swift.Int) -> Swift.Bool)
|
||||||
|
@objc public static func setFinishedCb(cb: @escaping () -> Swift.Void)
|
||||||
|
@objc public static func setChargingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func setControllingCb(cb: @escaping (Swift.String, Swift.Int) -> Swift.Void)
|
||||||
|
@objc public static func lock(password: Swift.String)
|
||||||
|
@objc public static func unlock(password: Swift.String)
|
||||||
|
public func tagReaderSessionDidBecomeActive(_ session: CoreNFC.NFCTagReaderSession)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didInvalidateWithError error: any Swift.Error)
|
||||||
|
public func tagReaderSession(_ session: CoreNFC.NFCTagReaderSession, didDetect tags: [CoreNFC.NFCTag])
|
||||||
|
@objc deinit
|
||||||
|
}
|
||||||
Binary file not shown.
@ -0,0 +1,212 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>files</key>
|
||||||
|
<dict>
|
||||||
|
<key>Info.plist</key>
|
||||||
|
<data>
|
||||||
|
GpDEJ+rATPOCmP3HUpE7ZB1LJzg=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||||
|
<data>
|
||||||
|
0j6kvsBKvhVxwBcM7FA+vfCVaVA=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
|
<data>
|
||||||
|
AvzsO/AVfO+ywZPE6yD9W7vfuo0=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
|
<data>
|
||||||
|
FsuT+vuzP30mRQPw1LmHqtT3m8c=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
|
<data>
|
||||||
|
AvzsO/AVfO+ywZPE6yD9W7vfuo0=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
|
<data>
|
||||||
|
7ZUSCPKox6eMxhpnn4hrjbL6BxA=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
|
<data>
|
||||||
|
0j6kvsBKvhVxwBcM7FA+vfCVaVA=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
|
<data>
|
||||||
|
ZnK7qlDDFzUdvbvDxYNV3zJfJNs=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
|
<data>
|
||||||
|
1b0NOzwDLNIOvblR6iGEDglRO08=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
|
<data>
|
||||||
|
ZnK7qlDDFzUdvbvDxYNV3zJfJNs=
|
||||||
|
</data>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
|
<data>
|
||||||
|
xgwvAMrwCj7TS3fvZmO+XTxikJI=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>files2</key>
|
||||||
|
<dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
Rxr4fvSq1ojxGHIsUlZ0yrdtPsjYXRoq/2DUsRZBFY0=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
wuf+eH3BsUKo9NTwH7Um4g2Eeg4IC2hJqGCKDCc6lLI=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
LJ9WZX7jKWlGx67BmCBK4YP6FEuudMu3BMWBcB5X6RE=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
wuf+eH3BsUKo9NTwH7Um4g2Eeg4IC2hJqGCKDCc6lLI=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
GeWMkaizI6HvrqlHDDnyAntNRSFdAEKwXj4V3wwoUf4=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
Rxr4fvSq1ojxGHIsUlZ0yrdtPsjYXRoq/2DUsRZBFY0=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
qurGBKdP1/SpkBpV1Yl/SOxoj9Jt+9vW9PUvFthKl6s=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
4Ph72BxtNCRk5fSOSFHff5JLMv073pQDEeFyoTrNmuI=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
qurGBKdP1/SpkBpV1Yl/SOxoj9Jt+9vW9PUvFthKl6s=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Modules/NfcLockFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
||||||
|
<dict>
|
||||||
|
<key>hash2</key>
|
||||||
|
<data>
|
||||||
|
V70YxRBHqcbUYJV956PCLEmTLVXfvzZ5eDuk2uBxhgQ=
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>rules</key>
|
||||||
|
<dict>
|
||||||
|
<key>^.*</key>
|
||||||
|
<true/>
|
||||||
|
<key>^.*\.lproj/</key>
|
||||||
|
<dict>
|
||||||
|
<key>optional</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1000</real>
|
||||||
|
</dict>
|
||||||
|
<key>^.*\.lproj/locversion.plist$</key>
|
||||||
|
<dict>
|
||||||
|
<key>omit</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1100</real>
|
||||||
|
</dict>
|
||||||
|
<key>^Base\.lproj/</key>
|
||||||
|
<dict>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1010</real>
|
||||||
|
</dict>
|
||||||
|
<key>^version.plist$</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>rules2</key>
|
||||||
|
<dict>
|
||||||
|
<key>.*\.dSYM($|/)</key>
|
||||||
|
<dict>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>11</real>
|
||||||
|
</dict>
|
||||||
|
<key>^(.*/)?\.DS_Store$</key>
|
||||||
|
<dict>
|
||||||
|
<key>omit</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>2000</real>
|
||||||
|
</dict>
|
||||||
|
<key>^.*</key>
|
||||||
|
<true/>
|
||||||
|
<key>^.*\.lproj/</key>
|
||||||
|
<dict>
|
||||||
|
<key>optional</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1000</real>
|
||||||
|
</dict>
|
||||||
|
<key>^.*\.lproj/locversion.plist$</key>
|
||||||
|
<dict>
|
||||||
|
<key>omit</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1100</real>
|
||||||
|
</dict>
|
||||||
|
<key>^Base\.lproj/</key>
|
||||||
|
<dict>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>1010</real>
|
||||||
|
</dict>
|
||||||
|
<key>^Info\.plist$</key>
|
||||||
|
<dict>
|
||||||
|
<key>omit</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>20</real>
|
||||||
|
</dict>
|
||||||
|
<key>^PkgInfo$</key>
|
||||||
|
<dict>
|
||||||
|
<key>omit</key>
|
||||||
|
<true/>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>20</real>
|
||||||
|
</dict>
|
||||||
|
<key>^embedded\.provisionprofile$</key>
|
||||||
|
<dict>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>20</real>
|
||||||
|
</dict>
|
||||||
|
<key>^version\.plist$</key>
|
||||||
|
<dict>
|
||||||
|
<key>weight</key>
|
||||||
|
<real>20</real>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Binary file not shown.
48
NfcLock.Ios.Binding/shared_nfc_kmp.xcframework/Info.plist
Normal file
48
NfcLock.Ios.Binding/shared_nfc_kmp.xcframework/Info.plist
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>AvailableLibraries</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>BinaryPath</key>
|
||||||
|
<string>NFCSDK.framework/NFCSDK</string>
|
||||||
|
<key>DebugSymbolsPath</key>
|
||||||
|
<string>dSYMs</string>
|
||||||
|
<key>LibraryIdentifier</key>
|
||||||
|
<string>ios-arm64_x86_64-simulator</string>
|
||||||
|
<key>LibraryPath</key>
|
||||||
|
<string>NFCSDK.framework</string>
|
||||||
|
<key>SupportedArchitectures</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
<string>x86_64</string>
|
||||||
|
</array>
|
||||||
|
<key>SupportedPlatform</key>
|
||||||
|
<string>ios</string>
|
||||||
|
<key>SupportedPlatformVariant</key>
|
||||||
|
<string>simulator</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BinaryPath</key>
|
||||||
|
<string>NFCSDK.framework/NFCSDK</string>
|
||||||
|
<key>DebugSymbolsPath</key>
|
||||||
|
<string>dSYMs</string>
|
||||||
|
<key>LibraryIdentifier</key>
|
||||||
|
<string>ios-arm64</string>
|
||||||
|
<key>LibraryPath</key>
|
||||||
|
<string>NFCSDK.framework</string>
|
||||||
|
<key>SupportedArchitectures</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
<key>SupportedPlatform</key>
|
||||||
|
<string>ios</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>XFWK</string>
|
||||||
|
<key>XCFrameworkFormatVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,707 @@
|
|||||||
|
#import <Foundation/NSArray.h>
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
#import <Foundation/NSError.h>
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
#import <Foundation/NSSet.h>
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
#import <Foundation/NSValue.h>
|
||||||
|
|
||||||
|
@class NFCSDKCV, NFCSDKCVCompanion, NFCSDKCallFunctionTask, NFCSDKChargeLevel, NFCSDKCommonTask, NFCSDKControlProgress, NFCSDKControlTask, NFCSDKCtrl, NFCSDKCtrlCompanion, NFCSDKDevice, NFCSDKDeviceInfo, NFCSDKDeviceLog, NFCSDKDeviceManager, NFCSDKGetLogTask, NFCSDKKotlinArray<T>, NFCSDKKotlinByteArray, NFCSDKKotlinByteIterator, NFCSDKKotlinEnum<E>, NFCSDKKotlinEnumCompanion, NFCSDKKotlinException, NFCSDKKotlinIllegalStateException, NFCSDKKotlinPair<__covariant A, __covariant B>, NFCSDKKotlinRuntimeException, NFCSDKKotlinThrowable, NFCSDKKotlinUnit, NFCSDKMet, NFCSDKMetCompanion, NFCSDKParameters, NFCSDKResult, NFCSDKSetKeyTask, NFCSDKSetParametersTask, NFCSDKUserType, NFCSDKUserTypeCompanion;
|
||||||
|
|
||||||
|
@protocol NFCSDKKotlinComparable, NFCSDKKotlinIterator, NFCSDKNFCCallbacks, NFCSDKNFCTag;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||||
|
#pragma clang diagnostic ignored "-Wincompatible-property-type"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
|
||||||
|
#pragma push_macro("_Nullable_result")
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
#undef _Nullable_result
|
||||||
|
#define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBase")))
|
||||||
|
@interface NFCSDKBase : NSObject
|
||||||
|
- (instancetype)init __attribute__((unavailable));
|
||||||
|
+ (instancetype)new __attribute__((unavailable));
|
||||||
|
+ (void)initialize __attribute__((objc_requires_super));
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NFCSDKBase (NFCSDKBaseCopying) <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableSet")))
|
||||||
|
@interface NFCSDKMutableSet<ObjectType> : NSMutableSet<ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableDictionary")))
|
||||||
|
@interface NFCSDKMutableDictionary<KeyType, ObjectType> : NSMutableDictionary<KeyType, ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSError (NSErrorNFCSDKKotlinException)
|
||||||
|
@property (readonly) id _Nullable kotlinException;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinNumber")))
|
||||||
|
@interface NFCSDKNumber : NSNumber
|
||||||
|
- (instancetype)initWithChar:(char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithShort:(short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInt:(int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLong:(long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithChar:(char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithShort:(short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInt:(int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLong:(long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByte")))
|
||||||
|
@interface NFCSDKByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithChar:(char)value;
|
||||||
|
+ (instancetype)numberWithChar:(char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUByte")))
|
||||||
|
@interface NFCSDKUByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value;
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinShort")))
|
||||||
|
@interface NFCSDKShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithShort:(short)value;
|
||||||
|
+ (instancetype)numberWithShort:(short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUShort")))
|
||||||
|
@interface NFCSDKUShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value;
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinInt")))
|
||||||
|
@interface NFCSDKInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithInt:(int)value;
|
||||||
|
+ (instancetype)numberWithInt:(int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUInt")))
|
||||||
|
@interface NFCSDKUInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value;
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinLong")))
|
||||||
|
@interface NFCSDKLong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithLongLong:(long long)value;
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinULong")))
|
||||||
|
@interface NFCSDKULong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinFloat")))
|
||||||
|
@interface NFCSDKFloat : NFCSDKNumber
|
||||||
|
- (instancetype)initWithFloat:(float)value;
|
||||||
|
+ (instancetype)numberWithFloat:(float)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinDouble")))
|
||||||
|
@interface NFCSDKDouble : NFCSDKNumber
|
||||||
|
- (instancetype)initWithDouble:(double)value;
|
||||||
|
+ (instancetype)numberWithDouble:(double)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBoolean")))
|
||||||
|
@interface NFCSDKBoolean : NFCSDKNumber
|
||||||
|
- (instancetype)initWithBool:(BOOL)value;
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinComparable")))
|
||||||
|
@protocol NFCSDKKotlinComparable
|
||||||
|
@required
|
||||||
|
- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinEnum")))
|
||||||
|
@interface NFCSDKKotlinEnum<E> : NFCSDKBase <NFCSDKKotlinComparable>
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKKotlinEnumCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NSString *name __attribute__((swift_name("name")));
|
||||||
|
@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV")))
|
||||||
|
@interface NFCSDKCV : NFCSDKKotlinEnum<NFCSDKCV *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCVCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCV *low __attribute__((swift_name("low")));
|
||||||
|
@property (class, readonly) NFCSDKCV *medium __attribute__((swift_name("medium")));
|
||||||
|
@property (class, readonly) NFCSDKCV *high __attribute__((swift_name("high")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCV *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCV *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint16_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV.Companion")))
|
||||||
|
@interface NFCSDKCVCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCVCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCV * _Nullable)fromValueValue:(uint16_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ChargeLevel")))
|
||||||
|
@interface NFCSDKChargeLevel : NFCSDKBase
|
||||||
|
- (instancetype)initWithLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("init(level:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKChargeLevel *)doCopyLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("doCopy(level:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t level __attribute__((swift_name("level")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlProgress")))
|
||||||
|
@interface NFCSDKControlProgress : NFCSDKBase
|
||||||
|
- (instancetype)initWithProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("init(progress:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlProgress *)doCopyProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("doCopy(progress:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t progress __attribute__((swift_name("progress")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl")))
|
||||||
|
@interface NFCSDKCtrl : NFCSDKKotlinEnum<NFCSDKCtrl *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCtrlCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *lock __attribute__((swift_name("lock")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *unlock __attribute__((swift_name("unlock")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCtrl *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCtrl *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl.Companion")))
|
||||||
|
@interface NFCSDKCtrlCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCtrlCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCtrl * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Device")))
|
||||||
|
@interface NFCSDKDevice : NFCSDKBase
|
||||||
|
- (instancetype)initWithS:(uint32_t)s __attribute__((swift_name("init(s:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDevice *)doCopyS:(uint32_t)s __attribute__((swift_name("doCopy(s:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (uint32_t)shiftC:(uint16_t)c __attribute__((swift_name("shift(c:)")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint32_t s __attribute__((swift_name("s")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceInfo")))
|
||||||
|
@interface NFCSDKDeviceInfo : NFCSDKBase
|
||||||
|
- (instancetype)initWithId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("init(id:isNew:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceInfo *)doCopyId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("doCopy(id:isNew:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint64_t id __attribute__((swift_name("id")));
|
||||||
|
@property (readonly) BOOL isNew __attribute__((swift_name("isNew")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceLog")))
|
||||||
|
@interface NFCSDKDeviceLog : NFCSDKBase
|
||||||
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("init(timestamp:username:ctrl:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceLog *)doCopyTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("doCopy(timestamp:username:ctrl:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCtrl * _Nullable ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) uint64_t timestamp __attribute__((swift_name("timestamp")));
|
||||||
|
@property (readonly) NSString *username __attribute__((swift_name("username")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceManager")))
|
||||||
|
@interface NFCSDKDeviceManager : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)deviceManager __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKDeviceManager *shared __attribute__((swift_name("shared")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)controlT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key ctrl:(NFCSDKCtrl *)ctrl completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("control(t:d:key:ctrl:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)encKey:(NFCSDKKotlinByteArray *)key info:(NFCSDKDeviceInfo *)info __attribute__((swift_name("enc(key:info:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getChargeLevelT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKChargeLevel *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getChargeLevel(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getControlProgressT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKControlProgress *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getControlProgress(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getInfoT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDeviceInfo *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getInfo(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getLogT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKDeviceLog *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getLog(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getRssiT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKUInt *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getRssi(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getVersionT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKUInt *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getVersion(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)doInitT:(id<NFCSDKNFCTag>)t completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDevice *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doInit(t:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)selectT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d type:(NFCSDKUserType *)type completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("select(t:d:type:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setKeyT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d info:(NFCSDKDeviceInfo *)info key:(NFCSDKKotlinByteArray *)key sKey:(NFCSDKKotlinByteArray *)sKey completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setKey(t:d:info:key:sKey:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setParametersT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key p:(NFCSDKParameters *)p completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setParameters(t:d:key:p:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)toFixed16Input:(NSString *)input __attribute__((swift_name("toFixed16(input:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("IOSNFCHelper")))
|
||||||
|
@interface NFCSDKIOSNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (void)controlPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl __attribute__((swift_name("control(password:ctrl:)")));
|
||||||
|
- (void)lockPassword:(NSString *)password __attribute__((swift_name("lock(password:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(completionHandler:)")));
|
||||||
|
- (void)setChargingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setChargingCb(cb:)")));
|
||||||
|
- (void)setControllingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setControllingCb(cb:)")));
|
||||||
|
- (void)setFinishedCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setFinishedCb(cb:)")));
|
||||||
|
- (void)setLoopCbCb:(NFCSDKBoolean *(^)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setLoopCb(cb:)")));
|
||||||
|
- (void)setLostCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setLostCb(cb:)")));
|
||||||
|
- (void)setTransceiverT:(void (^ _Nullable)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)))t __attribute__((swift_name("setTransceiver(t:)")));
|
||||||
|
- (void)unlockPassword:(NSString *)password __attribute__((swift_name("unlock(password:)")));
|
||||||
|
@property void (^ _Nullable charging)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("charging")));
|
||||||
|
@property void (^ _Nullable controlling)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("controlling")));
|
||||||
|
@property void (^ _Nullable finished)(void) __attribute__((swift_name("finished")));
|
||||||
|
@property NFCSDKBoolean *(^ _Nullable loop)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable) __attribute__((swift_name("loop")));
|
||||||
|
@property void (^ _Nullable lost)(void) __attribute__((swift_name("lost")));
|
||||||
|
@property void (^ _Nullable transceiver)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)) __attribute__((swift_name("transceiver")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met")))
|
||||||
|
@interface NFCSDKMet : NFCSDKKotlinEnum<NFCSDKMet *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKMetCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKMet *single __attribute__((swift_name("single")));
|
||||||
|
@property (class, readonly) NFCSDKMet *voltage __attribute__((swift_name("voltage")));
|
||||||
|
@property (class, readonly) NFCSDKMet *timer __attribute__((swift_name("timer")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKMet *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKMet *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met.Companion")))
|
||||||
|
@interface NFCSDKMetCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKMetCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKMet * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCTag")))
|
||||||
|
@protocol NFCSDKNFCTag
|
||||||
|
@required
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)transceiveData:(NFCSDKKotlinByteArray *)data completionHandler:(void (^)(NFCSDKKotlinByteArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("transceive(data:completionHandler:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Parameters")))
|
||||||
|
@interface NFCSDKParameters : NFCSDKBase
|
||||||
|
- (instancetype)initWithMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("init(method:clampingVoltage:totalMotorRuntime:p1:p2:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKParameters *)doCopyMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("doCopy(method:clampingVoltage:totalMotorRuntime:p1:p2:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCV *clampingVoltage __attribute__((swift_name("clampingVoltage")));
|
||||||
|
@property (readonly) NFCSDKMet *method __attribute__((swift_name("method")));
|
||||||
|
@property (readonly) uint16_t p1 __attribute__((swift_name("p1")));
|
||||||
|
@property (readonly) uint16_t p2 __attribute__((swift_name("p2")));
|
||||||
|
@property (readonly) uint16_t totalMotorRuntime __attribute__((swift_name("totalMotorRuntime")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Result")))
|
||||||
|
@interface NFCSDKResult : NFCSDKKotlinEnum<NFCSDKResult *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly) NFCSDKResult *ok __attribute__((swift_name("ok")));
|
||||||
|
@property (class, readonly) NFCSDKResult *error __attribute__((swift_name("error")));
|
||||||
|
@property (class, readonly) NFCSDKResult *unauthorized __attribute__((swift_name("unauthorized")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKResult *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKResult *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType")))
|
||||||
|
@interface NFCSDKUserType : NFCSDKKotlinEnum<NFCSDKUserType *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKUserTypeCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *normal __attribute__((swift_name("normal")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *supervisor __attribute__((swift_name("supervisor")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKUserType *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKUserType *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType.Companion")))
|
||||||
|
@interface NFCSDKUserTypeCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKUserTypeCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKUserType * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("CommonTask")))
|
||||||
|
@interface NFCSDKCommonTask : NFCSDKBase
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CallFunctionTask")))
|
||||||
|
@interface NFCSDKCallFunctionTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("init(password:data:index:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKCallFunctionTask *)doCopyPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("doCopy(password:data:index:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSArray<NFCSDKUInt *> *data __attribute__((swift_name("data")));
|
||||||
|
@property (readonly) uint8_t index __attribute__((swift_name("index")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlTask")))
|
||||||
|
@interface NFCSDKControlTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("init(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlTask *)doCopyPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("doCopy(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^chargeCallback)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable) __attribute__((swift_name("chargeCallback")));
|
||||||
|
@property (readonly) void (^controlCallback)(NFCSDKResult *, NFCSDKControlProgress * _Nullable) __attribute__((swift_name("controlCallback")));
|
||||||
|
@property (readonly) NFCSDKCtrl *ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) BOOL ignoreProgress __attribute__((swift_name("ignoreProgress")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("GetLogTask")))
|
||||||
|
@interface NFCSDKGetLogTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("init(password:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKGetLogTask *)doCopyPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("doCopy(password:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCCallbacks")))
|
||||||
|
@protocol NFCSDKNFCCallbacks
|
||||||
|
@required
|
||||||
|
- (void)onFinished __attribute__((swift_name("onFinished()")));
|
||||||
|
- (BOOL)onLoopInfo:(NFCSDKDeviceInfo *)info rssi:(NFCSDKUInt * _Nullable)rssi __attribute__((swift_name("onLoop(info:rssi:)")));
|
||||||
|
- (void)onLost __attribute__((swift_name("onLost()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCHelper")))
|
||||||
|
@interface NFCSDKNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)initWithCallback:(id<NFCSDKNFCCallbacks>)callback __attribute__((swift_name("init(callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getNFCTagParameter:(id _Nullable)parameter completionHandler:(void (^)(id<NFCSDKNFCTag> _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getNFCTag(parameter:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processParameter:(id _Nullable)parameter completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(parameter:completionHandler:)")));
|
||||||
|
- (void)setTaskTask:(NFCSDKCommonTask * _Nullable)task __attribute__((swift_name("setTask(task:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetKeyTask")))
|
||||||
|
@interface NFCSDKSetKeyTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:sKey:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetKeyTask *)doCopyPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:sKey:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@property (readonly) NSString *sKey __attribute__((swift_name("sKey")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetParametersTask")))
|
||||||
|
@interface NFCSDKSetParametersTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:parameters:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetParametersTask *)doCopyPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:parameters:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NFCSDKParameters *parameters __attribute__((swift_name("parameters")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Platform_iosKt")))
|
||||||
|
@interface NFCSDKPlatform_iosKt : NFCSDKBase
|
||||||
|
+ (int64_t)platformGetCurrentTimestamp __attribute__((swift_name("platformGetCurrentTimestamp()")));
|
||||||
|
+ (NSString *)platformGetName __attribute__((swift_name("platformGetName()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinEnumCompanion")))
|
||||||
|
@interface NFCSDKKotlinEnumCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinEnumCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinArray")))
|
||||||
|
@interface NFCSDKKotlinArray<T> : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (id<NFCSDKKotlinIterator>)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinThrowable")))
|
||||||
|
@interface NFCSDKKotlinThrowable : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.experimental.ExperimentalNativeApi
|
||||||
|
*/
|
||||||
|
- (NFCSDKKotlinArray<NSString *> *)getStackTrace __attribute__((swift_name("getStackTrace()")));
|
||||||
|
- (void)printStackTrace __attribute__((swift_name("printStackTrace()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKKotlinThrowable * _Nullable cause __attribute__((swift_name("cause")));
|
||||||
|
@property (readonly) NSString * _Nullable message __attribute__((swift_name("message")));
|
||||||
|
- (NSError *)asError __attribute__((swift_name("asError()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinException")))
|
||||||
|
@interface NFCSDKKotlinException : NFCSDKKotlinThrowable
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinRuntimeException")))
|
||||||
|
@interface NFCSDKKotlinRuntimeException : NFCSDKKotlinException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIllegalStateException")))
|
||||||
|
@interface NFCSDKKotlinIllegalStateException : NFCSDKKotlinRuntimeException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.SinceKotlin(version="1.4")
|
||||||
|
*/
|
||||||
|
__attribute__((swift_name("KotlinCancellationException")))
|
||||||
|
@interface NFCSDKKotlinCancellationException : NFCSDKKotlinIllegalStateException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinByteArray")))
|
||||||
|
@interface NFCSDKKotlinByteArray : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)")));
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(NFCSDKByte *(^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (NFCSDKKotlinByteIterator *)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinPair")))
|
||||||
|
@interface NFCSDKKotlinPair<__covariant A, __covariant B> : NFCSDKBase
|
||||||
|
- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKKotlinPair<A, B> *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)")));
|
||||||
|
- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)")));
|
||||||
|
- (int32_t)hashCode __attribute__((swift_name("hashCode()")));
|
||||||
|
- (NSString *)toString __attribute__((swift_name("toString()")));
|
||||||
|
@property (readonly) A _Nullable first __attribute__((swift_name("first")));
|
||||||
|
@property (readonly) B _Nullable second __attribute__((swift_name("second")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinUnit")))
|
||||||
|
@interface NFCSDKKotlinUnit : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)unit __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinUnit *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIterator")))
|
||||||
|
@protocol NFCSDKKotlinIterator
|
||||||
|
@required
|
||||||
|
- (BOOL)hasNext __attribute__((swift_name("hasNext()")));
|
||||||
|
- (id _Nullable)next __attribute__((swift_name("next()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByteIterator")))
|
||||||
|
@interface NFCSDKKotlinByteIterator : NFCSDKBase <NFCSDKKotlinIterator>
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (NFCSDKByte *)next __attribute__((swift_name("next()")));
|
||||||
|
- (int8_t)nextByte __attribute__((swift_name("nextByte()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
#pragma pop_macro("_Nullable_result")
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
<array>
|
||||||
|
<string>iPhoneOS</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>12.0</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
framework module "NFCSDK" {
|
||||||
|
umbrella header "NFCSDK.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
|
||||||
|
use Foundation
|
||||||
|
}
|
||||||
BIN
NfcLock.Ios.Binding/shared_nfc_kmp.xcframework/ios-arm64/NFCSDK.framework/NFCSDK
Executable file
BIN
NfcLock.Ios.Binding/shared_nfc_kmp.xcframework/ios-arm64/NFCSDK.framework/NFCSDK
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,707 @@
|
|||||||
|
#import <Foundation/NSArray.h>
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
#import <Foundation/NSError.h>
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
#import <Foundation/NSSet.h>
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
#import <Foundation/NSValue.h>
|
||||||
|
|
||||||
|
@class NFCSDKCV, NFCSDKCVCompanion, NFCSDKCallFunctionTask, NFCSDKChargeLevel, NFCSDKCommonTask, NFCSDKControlProgress, NFCSDKControlTask, NFCSDKCtrl, NFCSDKCtrlCompanion, NFCSDKDevice, NFCSDKDeviceInfo, NFCSDKDeviceLog, NFCSDKDeviceManager, NFCSDKGetLogTask, NFCSDKKotlinArray<T>, NFCSDKKotlinByteArray, NFCSDKKotlinByteIterator, NFCSDKKotlinEnum<E>, NFCSDKKotlinEnumCompanion, NFCSDKKotlinException, NFCSDKKotlinIllegalStateException, NFCSDKKotlinPair<__covariant A, __covariant B>, NFCSDKKotlinRuntimeException, NFCSDKKotlinThrowable, NFCSDKKotlinUnit, NFCSDKMet, NFCSDKMetCompanion, NFCSDKParameters, NFCSDKResult, NFCSDKSetKeyTask, NFCSDKSetParametersTask, NFCSDKUserType, NFCSDKUserTypeCompanion;
|
||||||
|
|
||||||
|
@protocol NFCSDKKotlinComparable, NFCSDKKotlinIterator, NFCSDKNFCCallbacks, NFCSDKNFCTag;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||||
|
#pragma clang diagnostic ignored "-Wincompatible-property-type"
|
||||||
|
#pragma clang diagnostic ignored "-Wnullability"
|
||||||
|
|
||||||
|
#pragma push_macro("_Nullable_result")
|
||||||
|
#if !__has_feature(nullability_nullable_result)
|
||||||
|
#undef _Nullable_result
|
||||||
|
#define _Nullable_result _Nullable
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBase")))
|
||||||
|
@interface NFCSDKBase : NSObject
|
||||||
|
- (instancetype)init __attribute__((unavailable));
|
||||||
|
+ (instancetype)new __attribute__((unavailable));
|
||||||
|
+ (void)initialize __attribute__((objc_requires_super));
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NFCSDKBase (NFCSDKBaseCopying) <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableSet")))
|
||||||
|
@interface NFCSDKMutableSet<ObjectType> : NSMutableSet<ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinMutableDictionary")))
|
||||||
|
@interface NFCSDKMutableDictionary<KeyType, ObjectType> : NSMutableDictionary<KeyType, ObjectType>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSError (NSErrorNFCSDKKotlinException)
|
||||||
|
@property (readonly) id _Nullable kotlinException;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinNumber")))
|
||||||
|
@interface NFCSDKNumber : NSNumber
|
||||||
|
- (instancetype)initWithChar:(char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithShort:(short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInt:(int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLong:(long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithChar:(char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithShort:(short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInt:(int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLong:(long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable));
|
||||||
|
+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByte")))
|
||||||
|
@interface NFCSDKByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithChar:(char)value;
|
||||||
|
+ (instancetype)numberWithChar:(char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUByte")))
|
||||||
|
@interface NFCSDKUByte : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedChar:(unsigned char)value;
|
||||||
|
+ (instancetype)numberWithUnsignedChar:(unsigned char)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinShort")))
|
||||||
|
@interface NFCSDKShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithShort:(short)value;
|
||||||
|
+ (instancetype)numberWithShort:(short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUShort")))
|
||||||
|
@interface NFCSDKUShort : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedShort:(unsigned short)value;
|
||||||
|
+ (instancetype)numberWithUnsignedShort:(unsigned short)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinInt")))
|
||||||
|
@interface NFCSDKInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithInt:(int)value;
|
||||||
|
+ (instancetype)numberWithInt:(int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinUInt")))
|
||||||
|
@interface NFCSDKUInt : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedInt:(unsigned int)value;
|
||||||
|
+ (instancetype)numberWithUnsignedInt:(unsigned int)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinLong")))
|
||||||
|
@interface NFCSDKLong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithLongLong:(long long)value;
|
||||||
|
+ (instancetype)numberWithLongLong:(long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinULong")))
|
||||||
|
@interface NFCSDKULong : NFCSDKNumber
|
||||||
|
- (instancetype)initWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinFloat")))
|
||||||
|
@interface NFCSDKFloat : NFCSDKNumber
|
||||||
|
- (instancetype)initWithFloat:(float)value;
|
||||||
|
+ (instancetype)numberWithFloat:(float)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinDouble")))
|
||||||
|
@interface NFCSDKDouble : NFCSDKNumber
|
||||||
|
- (instancetype)initWithDouble:(double)value;
|
||||||
|
+ (instancetype)numberWithDouble:(double)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinBoolean")))
|
||||||
|
@interface NFCSDKBoolean : NFCSDKNumber
|
||||||
|
- (instancetype)initWithBool:(BOOL)value;
|
||||||
|
+ (instancetype)numberWithBool:(BOOL)value;
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinComparable")))
|
||||||
|
@protocol NFCSDKKotlinComparable
|
||||||
|
@required
|
||||||
|
- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinEnum")))
|
||||||
|
@interface NFCSDKKotlinEnum<E> : NFCSDKBase <NFCSDKKotlinComparable>
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKKotlinEnumCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NSString *name __attribute__((swift_name("name")));
|
||||||
|
@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV")))
|
||||||
|
@interface NFCSDKCV : NFCSDKKotlinEnum<NFCSDKCV *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCVCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCV *low __attribute__((swift_name("low")));
|
||||||
|
@property (class, readonly) NFCSDKCV *medium __attribute__((swift_name("medium")));
|
||||||
|
@property (class, readonly) NFCSDKCV *high __attribute__((swift_name("high")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCV *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCV *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint16_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CV.Companion")))
|
||||||
|
@interface NFCSDKCVCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCVCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCV * _Nullable)fromValueValue:(uint16_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ChargeLevel")))
|
||||||
|
@interface NFCSDKChargeLevel : NFCSDKBase
|
||||||
|
- (instancetype)initWithLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("init(level:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKChargeLevel *)doCopyLevel:(uint16_t)level complete:(BOOL)complete __attribute__((swift_name("doCopy(level:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t level __attribute__((swift_name("level")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlProgress")))
|
||||||
|
@interface NFCSDKControlProgress : NFCSDKBase
|
||||||
|
- (instancetype)initWithProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("init(progress:complete:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlProgress *)doCopyProgress:(uint16_t)progress complete:(BOOL)complete __attribute__((swift_name("doCopy(progress:complete:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) BOOL complete __attribute__((swift_name("complete")));
|
||||||
|
@property (readonly) uint16_t progress __attribute__((swift_name("progress")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl")))
|
||||||
|
@interface NFCSDKCtrl : NFCSDKKotlinEnum<NFCSDKCtrl *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKCtrlCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *lock __attribute__((swift_name("lock")));
|
||||||
|
@property (class, readonly) NFCSDKCtrl *unlock __attribute__((swift_name("unlock")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKCtrl *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKCtrl *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Ctrl.Companion")))
|
||||||
|
@interface NFCSDKCtrlCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKCtrlCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKCtrl * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Device")))
|
||||||
|
@interface NFCSDKDevice : NFCSDKBase
|
||||||
|
- (instancetype)initWithS:(uint32_t)s __attribute__((swift_name("init(s:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDevice *)doCopyS:(uint32_t)s __attribute__((swift_name("doCopy(s:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (uint32_t)shiftC:(uint16_t)c __attribute__((swift_name("shift(c:)")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint32_t s __attribute__((swift_name("s")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceInfo")))
|
||||||
|
@interface NFCSDKDeviceInfo : NFCSDKBase
|
||||||
|
- (instancetype)initWithId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("init(id:isNew:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceInfo *)doCopyId:(uint64_t)id isNew:(BOOL)isNew __attribute__((swift_name("doCopy(id:isNew:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) uint64_t id __attribute__((swift_name("id")));
|
||||||
|
@property (readonly) BOOL isNew __attribute__((swift_name("isNew")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceLog")))
|
||||||
|
@interface NFCSDKDeviceLog : NFCSDKBase
|
||||||
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("init(timestamp:username:ctrl:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKDeviceLog *)doCopyTimestamp:(uint64_t)timestamp username:(NSString *)username ctrl:(NFCSDKCtrl * _Nullable)ctrl __attribute__((swift_name("doCopy(timestamp:username:ctrl:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCtrl * _Nullable ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) uint64_t timestamp __attribute__((swift_name("timestamp")));
|
||||||
|
@property (readonly) NSString *username __attribute__((swift_name("username")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("DeviceManager")))
|
||||||
|
@interface NFCSDKDeviceManager : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)deviceManager __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKDeviceManager *shared __attribute__((swift_name("shared")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)controlT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key ctrl:(NFCSDKCtrl *)ctrl completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("control(t:d:key:ctrl:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)encKey:(NFCSDKKotlinByteArray *)key info:(NFCSDKDeviceInfo *)info __attribute__((swift_name("enc(key:info:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getChargeLevelT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKChargeLevel *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getChargeLevel(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getControlProgressT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKControlProgress *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getControlProgress(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getInfoT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDeviceInfo *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getInfo(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getLogT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKDeviceLog *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getLog(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getRssiT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKUInt *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getRssi(t:d:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getVersionT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NSArray<NFCSDKUInt *> *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getVersion(t:d:key:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)doInitT:(id<NFCSDKNFCTag>)t completionHandler:(void (^)(NFCSDKKotlinPair<NFCSDKResult *, NFCSDKDevice *> * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doInit(t:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)selectT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d type:(NFCSDKUserType *)type completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("select(t:d:type:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setKeyT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d info:(NFCSDKDeviceInfo *)info key:(NFCSDKKotlinByteArray *)key sKey:(NFCSDKKotlinByteArray *)sKey completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setKey(t:d:info:key:sKey:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)setParametersT:(id<NFCSDKNFCTag>)t d:(NFCSDKDevice *)d key:(NFCSDKKotlinByteArray *)key p:(NFCSDKParameters *)p completionHandler:(void (^)(NFCSDKResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("setParameters(t:d:key:p:completionHandler:)")));
|
||||||
|
- (NFCSDKKotlinByteArray *)toFixed16Input:(NSString *)input __attribute__((swift_name("toFixed16(input:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("IOSNFCHelper")))
|
||||||
|
@interface NFCSDKIOSNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (void)controlPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl __attribute__((swift_name("control(password:ctrl:)")));
|
||||||
|
- (void)lockPassword:(NSString *)password __attribute__((swift_name("lock(password:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(completionHandler:)")));
|
||||||
|
- (void)setChargingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setChargingCb(cb:)")));
|
||||||
|
- (void)setControllingCbCb:(void (^ _Nullable)(NSString *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setControllingCb(cb:)")));
|
||||||
|
- (void)setFinishedCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setFinishedCb(cb:)")));
|
||||||
|
- (void)setLoopCbCb:(NFCSDKBoolean *(^)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable))cb __attribute__((swift_name("setLoopCb(cb:)")));
|
||||||
|
- (void)setLostCbCb:(void (^ _Nullable)(void))cb __attribute__((swift_name("setLostCb(cb:)")));
|
||||||
|
- (void)setTransceiverT:(void (^ _Nullable)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)))t __attribute__((swift_name("setTransceiver(t:)")));
|
||||||
|
- (void)unlockPassword:(NSString *)password __attribute__((swift_name("unlock(password:)")));
|
||||||
|
@property void (^ _Nullable charging)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("charging")));
|
||||||
|
@property void (^ _Nullable controlling)(NSString *, NFCSDKInt * _Nullable) __attribute__((swift_name("controlling")));
|
||||||
|
@property void (^ _Nullable finished)(void) __attribute__((swift_name("finished")));
|
||||||
|
@property NFCSDKBoolean *(^ _Nullable loop)(NSString *, NFCSDKBoolean *, NFCSDKInt * _Nullable) __attribute__((swift_name("loop")));
|
||||||
|
@property void (^ _Nullable lost)(void) __attribute__((swift_name("lost")));
|
||||||
|
@property void (^ _Nullable transceiver)(NFCSDKKotlinByteArray *, NFCSDKKotlinUnit *(^)(NFCSDKKotlinByteArray *)) __attribute__((swift_name("transceiver")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met")))
|
||||||
|
@interface NFCSDKMet : NFCSDKKotlinEnum<NFCSDKMet *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKMetCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKMet *single __attribute__((swift_name("single")));
|
||||||
|
@property (class, readonly) NFCSDKMet *voltage __attribute__((swift_name("voltage")));
|
||||||
|
@property (class, readonly) NFCSDKMet *timer __attribute__((swift_name("timer")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKMet *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKMet *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Met.Companion")))
|
||||||
|
@interface NFCSDKMetCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKMetCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKMet * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCTag")))
|
||||||
|
@protocol NFCSDKNFCTag
|
||||||
|
@required
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)transceiveData:(NFCSDKKotlinByteArray *)data completionHandler:(void (^)(NFCSDKKotlinByteArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("transceive(data:completionHandler:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Parameters")))
|
||||||
|
@interface NFCSDKParameters : NFCSDKBase
|
||||||
|
- (instancetype)initWithMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("init(method:clampingVoltage:totalMotorRuntime:p1:p2:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKParameters *)doCopyMethod:(NFCSDKMet *)method clampingVoltage:(NFCSDKCV *)clampingVoltage totalMotorRuntime:(uint16_t)totalMotorRuntime p1:(uint16_t)p1 p2:(uint16_t)p2 __attribute__((swift_name("doCopy(method:clampingVoltage:totalMotorRuntime:p1:p2:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKCV *clampingVoltage __attribute__((swift_name("clampingVoltage")));
|
||||||
|
@property (readonly) NFCSDKMet *method __attribute__((swift_name("method")));
|
||||||
|
@property (readonly) uint16_t p1 __attribute__((swift_name("p1")));
|
||||||
|
@property (readonly) uint16_t p2 __attribute__((swift_name("p2")));
|
||||||
|
@property (readonly) uint16_t totalMotorRuntime __attribute__((swift_name("totalMotorRuntime")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Result")))
|
||||||
|
@interface NFCSDKResult : NFCSDKKotlinEnum<NFCSDKResult *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly) NFCSDKResult *ok __attribute__((swift_name("ok")));
|
||||||
|
@property (class, readonly) NFCSDKResult *error __attribute__((swift_name("error")));
|
||||||
|
@property (class, readonly) NFCSDKResult *unauthorized __attribute__((swift_name("unauthorized")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKResult *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKResult *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType")))
|
||||||
|
@interface NFCSDKUserType : NFCSDKKotlinEnum<NFCSDKUserType *>
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
|
||||||
|
@property (class, readonly, getter=companion) NFCSDKUserTypeCompanion *companion __attribute__((swift_name("companion")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *normal __attribute__((swift_name("normal")));
|
||||||
|
@property (class, readonly) NFCSDKUserType *supervisor __attribute__((swift_name("supervisor")));
|
||||||
|
+ (NFCSDKKotlinArray<NFCSDKUserType *> *)values __attribute__((swift_name("values()")));
|
||||||
|
@property (class, readonly) NSArray<NFCSDKUserType *> *entries __attribute__((swift_name("entries")));
|
||||||
|
@property (readonly) uint8_t value __attribute__((swift_name("value")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("UserType.Companion")))
|
||||||
|
@interface NFCSDKUserTypeCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKUserTypeCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NFCSDKUserType * _Nullable)fromValueValue:(uint8_t)value __attribute__((swift_name("fromValue(value:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("CommonTask")))
|
||||||
|
@interface NFCSDKCommonTask : NFCSDKBase
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("CallFunctionTask")))
|
||||||
|
@interface NFCSDKCallFunctionTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("init(password:data:index:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKCallFunctionTask *)doCopyPassword:(NSString *)password data:(NSArray<NFCSDKUInt *> *)data index:(uint8_t)index callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable))callback __attribute__((swift_name("doCopy(password:data:index:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKUInt *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSArray<NFCSDKUInt *> *data __attribute__((swift_name("data")));
|
||||||
|
@property (readonly) uint8_t index __attribute__((swift_name("index")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("ControlTask")))
|
||||||
|
@interface NFCSDKControlTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("init(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKControlTask *)doCopyPassword:(NSString *)password ctrl:(NFCSDKCtrl *)ctrl ignoreProgress:(BOOL)ignoreProgress chargeCallback:(void (^)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable))chargeCallback controlCallback:(void (^)(NFCSDKResult *, NFCSDKControlProgress * _Nullable))controlCallback __attribute__((swift_name("doCopy(password:ctrl:ignoreProgress:chargeCallback:controlCallback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^chargeCallback)(NFCSDKResult *, NFCSDKChargeLevel * _Nullable) __attribute__((swift_name("chargeCallback")));
|
||||||
|
@property (readonly) void (^controlCallback)(NFCSDKResult *, NFCSDKControlProgress * _Nullable) __attribute__((swift_name("controlCallback")));
|
||||||
|
@property (readonly) NFCSDKCtrl *ctrl __attribute__((swift_name("ctrl")));
|
||||||
|
@property (readonly) BOOL ignoreProgress __attribute__((swift_name("ignoreProgress")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("GetLogTask")))
|
||||||
|
@interface NFCSDKGetLogTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("init(password:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKGetLogTask *)doCopyPassword:(NSString *)password callback:(void (^)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable))callback __attribute__((swift_name("doCopy(password:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *, NSArray<NFCSDKDeviceLog *> * _Nullable) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCCallbacks")))
|
||||||
|
@protocol NFCSDKNFCCallbacks
|
||||||
|
@required
|
||||||
|
- (void)onFinished __attribute__((swift_name("onFinished()")));
|
||||||
|
- (BOOL)onLoopInfo:(NFCSDKDeviceInfo *)info rssi:(NFCSDKUInt * _Nullable)rssi __attribute__((swift_name("onLoop(info:rssi:)")));
|
||||||
|
- (void)onLost __attribute__((swift_name("onLost()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("NFCHelper")))
|
||||||
|
@interface NFCSDKNFCHelper : NFCSDKBase
|
||||||
|
- (instancetype)initWithCallback:(id<NFCSDKNFCCallbacks>)callback __attribute__((swift_name("init(callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)getNFCTagParameter:(id _Nullable)parameter completionHandler:(void (^)(id<NFCSDKNFCTag> _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getNFCTag(parameter:completionHandler:)")));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note This method converts instances of CancellationException to errors.
|
||||||
|
* Other uncaught Kotlin exceptions are fatal.
|
||||||
|
*/
|
||||||
|
- (void)processParameter:(id _Nullable)parameter completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("process(parameter:completionHandler:)")));
|
||||||
|
- (void)setTaskTask:(NFCSDKCommonTask * _Nullable)task __attribute__((swift_name("setTask(task:)")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetKeyTask")))
|
||||||
|
@interface NFCSDKSetKeyTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:sKey:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetKeyTask *)doCopyPassword:(NSString *)password sKey:(NSString *)sKey callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:sKey:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@property (readonly) NSString *sKey __attribute__((swift_name("sKey")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("SetParametersTask")))
|
||||||
|
@interface NFCSDKSetParametersTask : NFCSDKCommonTask
|
||||||
|
- (instancetype)initWithPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("init(password:parameters:callback:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKSetParametersTask *)doCopyPassword:(NSString *)password parameters:(NFCSDKParameters *)parameters callback:(void (^)(NFCSDKResult *))callback __attribute__((swift_name("doCopy(password:parameters:callback:)")));
|
||||||
|
- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)")));
|
||||||
|
- (NSUInteger)hash __attribute__((swift_name("hash()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) void (^callback)(NFCSDKResult *) __attribute__((swift_name("callback")));
|
||||||
|
@property (readonly) NFCSDKParameters *parameters __attribute__((swift_name("parameters")));
|
||||||
|
@property (readonly) NSString *password __attribute__((swift_name("password")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("Platform_iosKt")))
|
||||||
|
@interface NFCSDKPlatform_iosKt : NFCSDKBase
|
||||||
|
+ (int64_t)platformGetCurrentTimestamp __attribute__((swift_name("platformGetCurrentTimestamp()")));
|
||||||
|
+ (NSString *)platformGetName __attribute__((swift_name("platformGetName()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinEnumCompanion")))
|
||||||
|
@interface NFCSDKKotlinEnumCompanion : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)companion __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinEnumCompanion *shared __attribute__((swift_name("shared")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinArray")))
|
||||||
|
@interface NFCSDKKotlinArray<T> : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (id<NFCSDKKotlinIterator>)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinThrowable")))
|
||||||
|
@interface NFCSDKKotlinThrowable : NFCSDKBase
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.experimental.ExperimentalNativeApi
|
||||||
|
*/
|
||||||
|
- (NFCSDKKotlinArray<NSString *> *)getStackTrace __attribute__((swift_name("getStackTrace()")));
|
||||||
|
- (void)printStackTrace __attribute__((swift_name("printStackTrace()")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@property (readonly) NFCSDKKotlinThrowable * _Nullable cause __attribute__((swift_name("cause")));
|
||||||
|
@property (readonly) NSString * _Nullable message __attribute__((swift_name("message")));
|
||||||
|
- (NSError *)asError __attribute__((swift_name("asError()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinException")))
|
||||||
|
@interface NFCSDKKotlinException : NFCSDKKotlinThrowable
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinRuntimeException")))
|
||||||
|
@interface NFCSDKKotlinRuntimeException : NFCSDKKotlinException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIllegalStateException")))
|
||||||
|
@interface NFCSDKKotlinIllegalStateException : NFCSDKKotlinRuntimeException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note annotations
|
||||||
|
* kotlin.SinceKotlin(version="1.4")
|
||||||
|
*/
|
||||||
|
__attribute__((swift_name("KotlinCancellationException")))
|
||||||
|
@interface NFCSDKKotlinCancellationException : NFCSDKKotlinIllegalStateException
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithCause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(NFCSDKKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinByteArray")))
|
||||||
|
@interface NFCSDKKotlinByteArray : NFCSDKBase
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)")));
|
||||||
|
+ (instancetype)arrayWithSize:(int32_t)size init:(NFCSDKByte *(^)(NFCSDKInt *))init __attribute__((swift_name("init(size:init:)")));
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)")));
|
||||||
|
- (NFCSDKKotlinByteIterator *)iterator __attribute__((swift_name("iterator()")));
|
||||||
|
- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)")));
|
||||||
|
@property (readonly) int32_t size __attribute__((swift_name("size")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinPair")))
|
||||||
|
@interface NFCSDKKotlinPair<__covariant A, __covariant B> : NFCSDKBase
|
||||||
|
- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer));
|
||||||
|
- (NFCSDKKotlinPair<A, B> *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)")));
|
||||||
|
- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)")));
|
||||||
|
- (int32_t)hashCode __attribute__((swift_name("hashCode()")));
|
||||||
|
- (NSString *)toString __attribute__((swift_name("toString()")));
|
||||||
|
@property (readonly) A _Nullable first __attribute__((swift_name("first")));
|
||||||
|
@property (readonly) B _Nullable second __attribute__((swift_name("second")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((objc_subclassing_restricted))
|
||||||
|
__attribute__((swift_name("KotlinUnit")))
|
||||||
|
@interface NFCSDKKotlinUnit : NFCSDKBase
|
||||||
|
+ (instancetype)alloc __attribute__((unavailable));
|
||||||
|
+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable));
|
||||||
|
+ (instancetype)unit __attribute__((swift_name("init()")));
|
||||||
|
@property (class, readonly, getter=shared) NFCSDKKotlinUnit *shared __attribute__((swift_name("shared")));
|
||||||
|
- (NSString *)description __attribute__((swift_name("description()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinIterator")))
|
||||||
|
@protocol NFCSDKKotlinIterator
|
||||||
|
@required
|
||||||
|
- (BOOL)hasNext __attribute__((swift_name("hasNext()")));
|
||||||
|
- (id _Nullable)next __attribute__((swift_name("next()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
__attribute__((swift_name("KotlinByteIterator")))
|
||||||
|
@interface NFCSDKKotlinByteIterator : NFCSDKBase <NFCSDKKotlinIterator>
|
||||||
|
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||||
|
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||||
|
- (NFCSDKByte *)next __attribute__((swift_name("next()")));
|
||||||
|
- (int8_t)nextByte __attribute__((swift_name("nextByte()")));
|
||||||
|
@end
|
||||||
|
|
||||||
|
#pragma pop_macro("_Nullable_result")
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>NFCSDK</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
<array>
|
||||||
|
<string>iPhoneOS</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>MinimumOSVersion</key>
|
||||||
|
<string>12.0</string>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
framework module "NFCSDK" {
|
||||||
|
umbrella header "NFCSDK.h"
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
}
|
||||||
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.com.lvcheng.lock.shared.nfc.kmp.NFCSDK</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user