variables / io.karte.android.variables / Variables

Variables

open class Variables

設定値の取得・管理を司るクラスです。

Constructors

<init>

設定値の取得・管理を司るクラスです。

Variables()

Functions

fetch

設定値を取得し、端末上にキャッシュします。

open static fun fetch(): Unit
open static fun fetch(completion: FetchCompletion?): Unit

get

指定されたキーに関連付けられた設定値にアクセスします。 なお設定値にアクセスするには事前に Variables#fetch() を呼び出しておく必要があります。

open static fun get(key: String): Variable

trackClick

指定された設定値に関連するキャンペーン情報を元に効果測定用のイベント(message_click)を発火します。

open static fun trackClick(variables: MutableList<Variable!>): Unit
open static fun trackClick(variables: MutableList<Variable!>, values: MutableMap<String!, *>?): Unit

trackOpen

指定された設定値に関連するキャンペーン情報を元に効果測定用のイベント(message_open)を発火します。

open static fun trackOpen(variables: MutableList<Variable!>): Unit
open static fun trackOpen(variables: MutableList<Variable!>, values: MutableMap<String!, *>?): Unit