EMFastTrackDeviceFingerprintSource
Objective-C
@interface EMFastTrackDeviceFingerprintSource : NSObject
Swift
class EMFastTrackDeviceFingerprintSource : NSObject
This class is used to create device fingerprint source settings.
- - Since: 5.3
-
List for anti-cloning sources to use.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSSet *deviceFingerprintType;Swift
var deviceFingerprintType: Set<AnyHashable>? { get } -
Application custom fingerprint data to integrate into anti-cloning.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSData *customData;Swift
var customData: Data? { get } -
Gets the default device fingerprint source
EMFastTrackDeviceFingerprintTypeSoft. SeeEMFastTrackDeviceFingerprintType.Declaration
Objective-C
+ (nonnull instancetype)defaultDeviceFingerprintSource;Swift
class func defaultDeviceFingerprintSource() -> Self -
Initializes a new device fingerprint source.
Declaration
Objective-C
- (nonnull id)initWithDeviceFingerprintType:(nonnull NSSet *)aDft;Swift
init(deviceFingerprintType aDft: Set<AnyHashable>)Parameters
aDftSet of sources to use, see
EMFastTrackDeviceFingerprintType.Return Value
An instance of EMDeviceFingerprintSource.
-
Initializes a new device fingerprint source with some application’s custom data.
Declaration
Objective-C
- (nonnull id)initWithCustomData:(nonnull 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
- (nonnull id)initWithCustomData:(nonnull NSData *)aCustomData deviceFingerprintType:(nonnull NSSet *)aDft;Swift
init(customData aCustomData: Data, deviceFingerprintType aDft: Set<AnyHashable>)Parameters
aCustomDataApplication’s custom data.
aDftSet of sources to use, see EMFastTrackDeviceFingerprintType.
Return Value
An instance of EMDeviceFingerprintSource.
-
Checks if the provided device fingerprint type is activated.
Declaration
Objective-C
- (BOOL)isActive:(EMFastTrackDeviceFingerprintType)aDeviceFingerprintType;Swift
func isActive(_ aDeviceFingerprintType: EMFastTrackDeviceFingerprintType) -> 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
EMFastTrackDeviceFingerprintTypeHardwareKeySince
5.4
Declaration
Objective-C
+ (BOOL)isHardwareKeySupported;Swift
class func isHardwareKeySupported() -> BoolReturn Value
YESif device supports,NOotherwise.
EMFastTrackDeviceFingerprintSource Class Reference