Sony Addon SDK
public static interface

Notification.EventColumns

This project is no longer being supported and will not get any further updates.

Class Overview

Column-definitions for the event table.

Summary

Constants
java.lang.String SOURCE_ID The ID of the host source corresponding to this event
java.lang.String TITLE Short text describing the title for event linked with this data row.
java.lang.String IMAGE_URI Content URI to an image linked with the event at this data row
java.lang.String PUBLISHED_TIME The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when the content linked with this data row was published on the source.
java.lang.String PERSONAL Whether the event linked with this data row is specifically directed to the user ("me") or concerns the user ("me"), e.g.
java.lang.String MESSAGE Message associated with this event
java.lang.String GEO_DATA Geo data associated with this event
java.lang.String EVENT_READ_STATUS Indicates if the event has been read by the user
java.lang.String TIME_STAMP The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when this row was created.
java.lang.String DISPLAY_NAME Displayable name of the user linked with this data row, e.g.
java.lang.String PROFILE_IMAGE_URI URI to the profile image of the user linked with this data row
java.lang.String CONTACTS_REFERENCE A reference to the contacts content provider.
java.lang.String FRIEND_KEY Generic data column for use by the plug-in to store information that may be used to identify the friend that is at this data row, in its domain.

Constants

Added in API level 1.0 public static final java.lang.String SOURCE_ID

The ID of the host source corresponding to this event

TYPE: INTEGER (long)

PRESENCE: MANDATORY

Constant Value: "sourceId"

Added in API level 1.0 public static final java.lang.String TITLE

Short text describing the title for event linked with this data row. This can be the phone number, username, email address etc

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "title"

Added in API level 1.0 public static final java.lang.String IMAGE_URI

Content URI to an image linked with the event at this data row

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "imageUri"

Added in API level 1.0 public static final java.lang.String PUBLISHED_TIME

The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when the content linked with this data row was published on the source. Shall be stored as GMT+0 time

TYPE: INTEGER (long)

PRESENCE: REQUIRED

Constant Value: "publishedTime"

Added in API level 1.0 public static final java.lang.String PERSONAL

Whether the event linked with this data row is specifically directed to the user ("me") or concerns the user ("me"), e.g. received SMS, Facebook private message to the logged-in user, Facebook private message from the logged-in user, @reply Tweets from the logged-in user, user ("me") is tagged in a photo etc

TYPE: INTEGER (int)

ALLOWED VALUES:

  • 0: 'not personal'
  • 1: 'personal'


PRESENCE: REQUIRED

Constant Value: "personal"

Added in API level 1.0 public static final java.lang.String MESSAGE

Message associated with this event

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "message"

Added in API level 1.0 public static final java.lang.String GEO_DATA

Geo data associated with this event

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "geoData"

Added in API level 1.0 public static final java.lang.String EVENT_READ_STATUS

Indicates if the event has been read by the user

TYPE: BOOLEAN

PRESENCE: OPTIONAL

Constant Value: "readStatus"

Added in API level 1.0 public static final java.lang.String TIME_STAMP

The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when this row was created. The time stamp is set automatically

TYPE: INTEGER (long)

PRESENCE: The time stamp is set automatically

Constant Value: "timeStamp"

Added in API level 1 public static final java.lang.String DISPLAY_NAME

Displayable name of the user linked with this data row, e.g. full name

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "display_name"

Added in API level 1 public static final java.lang.String PROFILE_IMAGE_URI

URI to the profile image of the user linked with this data row

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "profile_image_uri"

Added in API level 1 public static final java.lang.String CONTACTS_REFERENCE

A reference to the contacts content provider. The reference is a URI to a android.provider.ContactsContract.RawContacts

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "contacts_reference"

Added in API level 1 public static final java.lang.String FRIEND_KEY

Generic data column for use by the plug-in to store information that may be used to identify the friend that is at this data row, in its domain. See section Contact Linking for more information

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "friend_key"