Skip to content

//android-sdk/ai.smartwall.android.sdk.api

Package ai.smartwall.android.sdk.api

Types

Name Summary
JsError [androidJvm]
Content
sealed class JsError : UnlockSdkError
More info
Error, which is coming from JS side of SmartWall SDK.


NoInternetConnection [androidJvm]
Content
data class NoInternetConnection(e: IOException) : UnlockFailure


OnUnlockResult [androidJvm]
Content
fun fun interface OnUnlockResult


PaymentCancelledByUser [androidJvm]
Content
object PaymentCancelledByUser : UnlockFailure
More info
User manually cancelled payment process.


SmartWall [androidJvm]
Content
interface SmartWall


SmartWallBuilder [androidJvm]
Content
class SmartWallBuilder(activity: FragmentActivity)


UnexpectedPaymentError [androidJvm]
Content
data class UnexpectedPaymentError(e: Throwable?, errorMessage: String) : UnlockSdkError
More info
Unexpected/Unknown error case, which SDK don't know how to handle.


UnexpectedSdkError [androidJvm]
Content
data class UnexpectedSdkError(e: Throwable, errorMessage: String) : UnlockSdkError
More info
Unexpected/Unknown error case, which SDK don't know how to handle.


UnlockCancelledByUser [androidJvm]
Content
object UnlockCancelledByUser : UnlockFailure
More info
User manually cancelled SmartWall unlock process.


UnlockFailure [androidJvm]
Content
sealed class UnlockFailure : UnlockResult
More info
Base case for unsuccessful unlock result.


UnlockPaymentFailure [androidJvm]
Content
sealed class UnlockPaymentFailure : UnlockFailure
More info
Base case for all errors relayed to the payment process (Google in-app billing lib).


UnlockResult [androidJvm]
Content
sealed class UnlockResult
More info
UnlockResult could be following:


UnlockSdkError [androidJvm]
Content
sealed class UnlockSdkError : UnlockFailure
More info
Base case for all SmartWall sdk errors.


UnlockSuccess [androidJvm]
Content
object UnlockSuccess : UnlockResult
More info
Successful unlock case.