EMDeviceFingerprintSource
Objective-C
@interface EMDeviceFingerprintSource : NSObject
Swift
class EMDeviceFingerprintSource : NSObject
This class is used to create device fingerprint source settings.
-
List for anti-cloning sources to use.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSSet *deviceFingerprintType;Swift
var deviceFingerprintType: Set<AnyHashable>! { get } -
Application custom fingerprint data to integrate into anti-cloning.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSData *customData;Swift
var customData: Data! { get } -
Gets the default device fingerprint source (
EMDeviceFingerprintTypeSoft). See EMDeviceFingerprintType.Declaration
Objective-C
+ (id)defaultDeviceFingerprintSource;Swift
class func defaultDeviceFingerprintSource() -> Any! -
Initializes a new device fingerprint source.
Declaration
Objective-C
- (id)initWithDeviceFingerprintType:(NSSet *)aDft;Swift
init!(deviceFingerprintType aDft: Set<AnyHashable>!)Parameters
aDftSet of sources to use, see EMDeviceFingerprintType.
Return Value
An instance of EMDeviceFingerprintSource.
-
Initializes a new device fingerprint source with some application’s custom data.
Declaration
Objective-C
- (id)initWithCustomData:(NSData *)aCustomData;Swift
init!(customData aCustomData: Data!)Parameters
aCustomDataApplication’s custom data.
Return Value
An instance of EMDeviceFingerprintSource.
-
Initializes a new device fingerprint source with some application’s custom data.
Declaration
Objective-C
- (id)initWithCustomData:(NSData *)aCustomData deviceFingerprintType:(NSSet *)aDft;Swift
init!(customData aCustomData: Data!, deviceFingerprintType aDft: Set<AnyHashable>!)Parameters
aCustomDataApplication’s custom data.
aDftSet of sources to use, see EMDeviceFingerprintType.
Return Value
An instance of EMDeviceFingerprintSource.
-
Checks if the provided device fingerprint type is activated.
Declaration
Objective-C
- (BOOL)isActive:(EMDeviceFingerprintType)aDeviceFingerprintType;Swift
func isActive(_ aDeviceFingerprintType: EMDeviceFingerprintType) -> BoolParameters
aDeviceFingerprintTypeThe source to be verified.
Return Value
YESif source is active,NOotherwise. -
Checks if the current device supports hardware-based key (Secure Enclave) for device fingerprint source
EMDeviceFingerprintTypeHardwareKeySince
5.4
Declaration
Objective-C
+ (BOOL)isHardwareKeySupported;Swift
class func isHardwareKeySupported() -> BoolReturn Value
YESif device supports,NOotherwise.
EMDeviceFingerprintSource Class Reference