ripe / com.ripe.android.plugins / SyncPlugin

SyncPlugin

class SyncPlugin : Plugin

Plugin responsible for applying synchronization rules.

Constructors

<init>

SyncPlugin(rulesMap: Map<String, Any>? = null, options: Map<String, Any> = HashMap())

Constructor for the SyncPlugin.

Properties

options

var options: Map<String, Any>

A map with options to configure the plugin.

Inherited Properties

owner

var owner: Ripe?

The Ripe instance that is using this plugin.

Functions

register

fun register(owner: Ripe): Unit

The Sync Plugin binds the post_config and part events, in order to:

unregister

fun unregister(): Unit

The unregister to be called (by the owner)the plugins unbinds events and executes any necessary cleanup operation.