EMFastTrackDeviceFingerprintSource

@interface 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 (readonly, copy, nonatomic, nullable) NSSet *deviceFingerprintType;

    Swift

    var deviceFingerprintType: Set<AnyHashable>? { get }
  • Application custom fingerprint data to integrate into anti-cloning.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) NSData *customData;

    Swift

    var customData: Data? { get }
  • Gets the default device fingerprint source EMFastTrackDeviceFingerprintTypeSoft. See EMFastTrackDeviceFingerprintType.

    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

    aDft

    Set 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

    aCustomData

    Application’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

    aCustomData

    Application’s custom data.

    aDft

    Set 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) -> Bool

    Parameters

    aDeviceFingerprintType

    The source to be verified.

    Return Value

    YES if source is active, NO otherwise.

  • Checks if the current device supports hardware-based key (Secure Enclave) for device fingerprint source EMFastTrackDeviceFingerprintTypeHardwareKey

    Since

    5.4

    Declaration

    Objective-C

    + (BOOL)isHardwareKeySupported;

    Swift

    class func isHardwareKeySupported() -> Bool

    Return Value

    YES if device supports, NO otherwise.