Companion

object Companion

Functions

canHandleMessage
Link copied to clipboard
fun canHandleMessage(message: RemoteMessage): Boolean
KARTE経由で送信された通知メッセージであるか判定します。
fun canHandleMessage(data: Map<String, String>): Boolean
KARTE経由で送信された通知メッセージであるか判定します。
copyInfoToIntent
Link copied to clipboard
fun copyInfoToIntent(data: Map<String, String>?, intent: Intent)
プッシュ通知の開封イベントの送信に必要なパラメータをIntentにコピーします。
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
extractKarteAttributes
Link copied to clipboard
fun extractKarteAttributes(message: RemoteMessage): KarteAttributes?
RemoteMessageからSDKが自動で処理するデータを取り出し、KarteAttributesインスタンスを返します。
fun extractKarteAttributes(data: Map<String, String>): KarteAttributes?
データメッセージからSDKが自動で処理するデータを取り出し、KarteAttributesインスタンスを返します。
handleMessage
Link copied to clipboard
fun handleMessage(context: Context, message: RemoteMessage, defaultIntent: Intent? = null): Boolean
KARTE経由で送信された通知メッセージから、通知を作成・表示します。
fun handleMessage(context: Context, data: Map<String, String>, defaultIntent: Intent? = null): Boolean
KARTE経由で送信された通知メッセージ(データメッセージ)から、通知を作成・表示します。
fun handleMessage(context: Context, message: RemoteMessage, notification: Notification?, defaultIntent: Intent? = null): Boolean
KARTE経由で送信された通知メッセージから、通知を作成・表示します。
fun handleMessage(context: Context, data: Map<String, String>, notification: Notification?, defaultIntent: Intent? = null): Boolean
KARTE経由で送信された通知メッセージ(データメッセージ)から、通知を作成・表示します。
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String