AltcraftSDK
├─ fun initialization(context: Context, configuration: AltcraftConfiguration, complete: ((Result<Unit>) -> Unit)? = null): Unit
├─ fun clear(context: Context, onComplete: (() -> Unit)? = null): Unit
├─ fun setJWTProvider(provider: JWTInterface?): Unit
├─ fun unlockInitialOperationsInThisSession(): Unit
├─ fun requestNotificationPermission(context: Context, activity: ComponentActivity): Unit
├─ open class PushReceiver
│
│ ├─ open suspend fun pushHandler(context: Context, message: Map<String, String>): Unit
│
│ └─ companion object
│ ├─ fun takePush(context: Context, message: Map<String, String>): Unit
│ └─ fun isAltcraftPush(message: Map<String, String>): Boolean
├─ val pushSubscriptionFunctions: PublicPushSubscriptionFunctions
│
│ ├─ fun pushSubscribe(
│ │ context: Context,
│ │ sync: Boolean = true,
│ │ profileFields: Map<String, Any?>? = null,
│ │ customFields: Map<String, Any?>? = null,
│ │ cats: List<CategoryData>? = null,
│ │ replace: Boolean? = null,
│ │ skipTriggers: Boolean? = null
│ │ ): Unit
│
│ ├─ fun pushSuspend(
│ │ context: Context,
│ │ sync: Boolean = true,
│ │ profileFields: Map<String, Any?>? = null,
│ │ customFields: Map<String, Any?>? = null,
│ │ cats: List<CategoryData>? = null,
│ │ replace: Boolean? = null,
│ │ skipTriggers: Boolean? = null
│ │ ): Unit
│
│ ├─ fun pushUnSubscribe(
│ │ context: Context,
│ │ sync: Boolean = true,
│ │ profileFields: Map<String, Any?>? = null,
│ │ customFields: Map<String, Any?>? = null,
│ │ cats: List<CategoryData>? = null,
│ │ replace: Boolean? = null,
│ │ skipTriggers: Boolean? = null
│ │ ): Unit
│
│ ├─ suspend fun unSuspendPushSubscription(context: Context): ResponseWithHttpCode<ResponseWithProfile>?
│
│ ├─ suspend fun getStatusOfLatestSubscription(context: Context): ResponseWithHttpCode<ResponseWithProfile>?
│
│ ├─ suspend fun getStatusOfLatestSubscriptionForProvider(context: Context, provider: String? = null): ResponseWithHttpCode<ResponseWithProfile>?
│
│ ├─ suspend fun getStatusForCurrentSubscription(context: Context): ResponseWithHttpCode<ResponseWithProfile>?
│
│ └─ fun actionField(key: String): ActionFieldBuilder
├─ val pushTokenFunctions: PublicPushTokenFunctions
│
│ ├─ fun setPushToken(context: Context, provider: String?, token: String?): Unit
│
│ ├─ suspend fun getPushToken(context: Context): TokenData?
│
│ ├─ fun setFCMTokenProvider(provider: FCMInterface?): Unit
│
│ ├─ fun setHMSTokenProvider(provider: HMSInterface?): Unit
│
│ ├─ fun setRuStoreTokenProvider(provider: RustoreInterface?): Unit
│
│ ├─ fun deleteDeviceToken(context: Context, provider: String, complete: () -> Unit): Unit
│
│ ├─ fun forcedTokenUpdate(context: Context, complete: () -> Unit): Unit
│
│ └─ suspend fun changePushProviderPriorityList(context: Context, priorityList: List<String>): Unit
├─ val pushEventFunctions: PublicPushEventFunctions
│
│ ├─ fun deliveryEvent(context: Context, message: Map<String, String>? = null, messageUID: String? = null): Unit
│
│ └─ fun openEvent(context: Context, message: Map<String, String>? = null, messageUID: String? = null): Unit
├─ val mobileEventFunctions: PublicMobileEventFunctions
│
│ └─ fun mobileEvent(
│ context: Context,
│ sid: String,
│ eventName: String,
│ sendMessageId: String? = null,
│ payload: Map<String, Any?>? = null,
│ matching: Map<String, Any?>? = null,
│ matchingType: String? = null,
│ profileFields: Map<String, Any?>? = null,
│ subscription: Subscription? = null,
│ utm: UTM? = null
│ ): Unit
├─ val profileFunctions: PublicProfileFunctions
│
│ └─ fun updateProfileFields(
│ context: Context,
│ profileFields: Map<String, Any?>? = null,
│ skipTriggers: Boolean? = null
│ ): Unit
├─ val inAppFunctions: PublicInAppFunctions
│
│ ├─ fun setAnimation(block: Animator.() -> Unit): Unit
│
│ ├─ fun setScreen(screen: String): Unit
│
│ ├─ fun inAppTrigger(context: Context, name: String): Unit
│
│ ├─ fun getInAppPlacements(context: Context): Unit
│
│ ├─ fun subscribeOnActivityLifecycle(context: Context): Unit
│
│ ├─ fun inAppSubscribe(
│ │ context: Context,
│ │ sync: Boolean = true,
│ │ profileFields: Map<String, Any?>? = null,
│ │ customFields: Map<String, Any?>? = null,
│ │ cats: List<CategoryData>? = null,
│ │ replace: Boolean? = null,
│ │ skipTriggers: Boolean? = null
│ │ ): Unit
│
│ ├─ fun inAppUnSubscribe(