TermsAndConditionsUI

open class TermsAndConditionsUI(context: Context = ContextRetainer.context, activityClazz: Class<*>, notificationConfig: TermsAndConditionsUI.Config.Notification, activityConfig: TermsAndConditionsUI.Config.Activity) : TermsAndConditionBroadcastReceiver

Terms And Conditions Ui representation of the Terms And Conditions on the Ui

Constructors

Link copied to clipboard
constructor(context: Context = ContextRetainer.context, activityClazz: Class<*>, notificationConfig: TermsAndConditionsUI.Config.Notification, activityConfig: TermsAndConditionsUI.Config.Activity)

Types

Link copied to clipboard
interface Config

Config

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun dismiss()

Dismiss the notifcation

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSentFromUid(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onActionAccept()

Called when the notification has been accepted

Link copied to clipboard
open override fun onActionCancel()

Called when the notification has been canceled

Link copied to clipboard
open override fun onActionDecline()

Called when the notification has been declined

Link copied to clipboard
open fun peekService(p0: Context, p1: Intent): IBinder
Link copied to clipboard

Register the broadcast receiver

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setResult(p0: Int, p1: String, p2: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun show(context: Context = ContextRetainer.context)

Show the notification