Skip to content

//ios-sdk/UnlockResult

ENUM

UnlockResult

@frozen public enum UnlockResult

The SmartWall completion handler response

Cases

unlockSuccess

case unlockSuccess

The wall was successfully unlocked.

unlockCancelledByUser

case unlockCancelledByUser

The user dismiss dismissed the wall swiping down the modal

paymentCancelledByUser

case paymentCancelledByUser

The user cancelled the in app purchased modal

unlockFailure(_:)

case unlockFailure(_ error: SWError)

The wall failed to unlock, see the error stored property for more details

noInternetConnection

case noInternetConnection

The device is not connected to internet therefore the smartwall can't verify the user access