Class LAContext
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.localauthentication.LAContext
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class LAContext extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LAContext.LAContextPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description LAContext()
protected
LAContext(NSObject.Handle h, long handle)
protected
LAContext(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
LAContext
public LAContext()
-
LAContext
protected LAContext(NSObject.Handle h, long handle)
-
LAContext
protected LAContext(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getLocalizedFallbackTitle
public java.lang.String getLocalizedFallbackTitle()
-
setLocalizedFallbackTitle
public void setLocalizedFallbackTitle(java.lang.String v)
-
getLocalizedCancelTitle
public java.lang.String getLocalizedCancelTitle()
- Since:
- Available in iOS 10.0 and later.
-
setLocalizedCancelTitle
public void setLocalizedCancelTitle(java.lang.String v)
- Since:
- Available in iOS 10.0 and later.
-
getMaxBiometryFailures
@Deprecated public NSNumber getMaxBiometryFailures()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 8.3 and later.
-
setMaxBiometryFailures
@Deprecated public void setMaxBiometryFailures(NSNumber v)
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 8.3 and later.
-
getEvaluatedPolicyDomainState
public NSData getEvaluatedPolicyDomainState()
- Since:
- Available in iOS 9.0 and later.
-
getTouchIDAuthenticationAllowableReuseDuration
public double getTouchIDAuthenticationAllowableReuseDuration()
- Since:
- Available in iOS 9.0 and later.
-
setTouchIDAuthenticationAllowableReuseDuration
public void setTouchIDAuthenticationAllowableReuseDuration(double v)
- Since:
- Available in iOS 9.0 and later.
-
getLocalizedReason
public java.lang.String getLocalizedReason()
- Since:
- Available in iOS 11.0 and later.
-
setLocalizedReason
public void setLocalizedReason(java.lang.String v)
- Since:
- Available in iOS 11.0 and later.
-
isInteractionNotAllowed
public boolean isInteractionNotAllowed()
- Since:
- Available in iOS 11.0 and later.
-
setInteractionNotAllowed
public void setInteractionNotAllowed(boolean v)
- Since:
- Available in iOS 11.0 and later.
-
getBiometryType
public LABiometryType getBiometryType()
- Since:
- Available in iOS 11.0 and later.
-
getMaximumAllowableReuseDuration
public static double getMaximumAllowableReuseDuration()
- Since:
- Available in iOS 9.0 and later.
-
canEvaluatePolicy
public boolean canEvaluatePolicy(LAPolicy policy) throws NSErrorException
- Throws:
NSErrorException
-
evaluatePolicy
public void evaluatePolicy(LAPolicy policy, java.lang.String localizedReason, org.robovm.objc.block.VoidBlock2<java.lang.Boolean,NSError> reply)
-
invalidate
public void invalidate()
- Since:
- Available in iOS 9.0 and later.
-
setCredential
public boolean setCredential(NSData credential, LACredentialType type)
- Since:
- Available in iOS 9.0 and later.
-
isCredentialSet
public boolean isCredentialSet(LACredentialType type)
- Since:
- Available in iOS 9.0 and later.
-
evaluateAccessControl
public void evaluateAccessControl(SecAccessControl accessControl, LAAccessControlOperation operation, java.lang.String localizedReason, org.robovm.objc.block.VoidBlock2<java.lang.Boolean,NSError> reply)
- Since:
- Available in iOS 9.0 and later.
-
-