public class

BeaconNotification

extends Object
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.beacon.BeaconNotification

Class Overview

Class representing a beacon notification. Used for parsing event string sent via journal callback when a notification is posted.

Summary

Public Constructors
BeaconNotification()
Public Methods
static BeaconNotification fromJson(String json)
Parse the JSON string
String getContextId()
Returns the context ID
String getMessage()
Returns the notification message
String getTitle()
Returns the notification title
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BeaconNotification ()

Public Methods

public static BeaconNotification fromJson (String json)

Parse the JSON string

Parameters
json JSON string
Returns
  • the corresponding BeaconNotification object

public String getContextId ()

Returns the context ID

Returns
  • the context ID

public String getMessage ()

Returns the notification message

Returns
  • the notification message

public String getTitle ()

Returns the notification title

Returns
  • the notification title