Sony Addon SDK
public class

NotificationWidgetEvent

This project is no longer being supported and will not get any further updates.
extends java.lang.Object
  1. java.lang.Object
  2. com.sonyericsson.extras.liveware.extension.util.widget.NotificationWidgetEvent

Class Overview

The notification widget event class represents an event in the notification database.

Summary

Fields
protected java.lang.String mName
protected java.lang.String mTitle
protected java.lang.String mMessage
protected long mTime
protected int mCount
protected long mSourceId
protected java.lang.String mContactReference
protected java.lang.String mProfileImageUri
protected java.lang.String mFriendKey
protected final Context mContext
Public Constructors
NotificationWidgetEvent(Context context)

Create notification widget event.

Public Methods
boolean equals(java.lang.Object object)
int hashCode()
long getTime()

Get the time.

void setTime(long time)

Set the time.

int getCount()

Get the count.

void setCount(int count)

Set the count.

long getSourceId()

Get the source id.

void setSourceId(long sourceId)

Set the source id.

void setName(java.lang.String name)

Set the name.

void setTitle(java.lang.String title)

Set the title.

void setMessage(java.lang.String message)

Set the message.

void setContactReference(java.lang.String contactReference)

Set the contact reference.

void setProfileImageUri(java.lang.String profileImageUri)

Set the profile image URI.

Bitmap getImage()

Get the widget image.

java.lang.String getName()

Get the name.

java.lang.String getTitle()

Get the title.

java.lang.String getFriendKey()

Get the friend key.

void setFriendKey(java.lang.String friendKey)

Set the friend key.

Fields

protected java.lang.String mName

protected java.lang.String mTitle

protected java.lang.String mMessage

protected long mTime

protected int mCount

protected long mSourceId

protected java.lang.String mContactReference

protected java.lang.String mProfileImageUri

protected java.lang.String mFriendKey

protected final Context mContext

Public Constructors

public NotificationWidgetEvent(Context context)

Create notification widget event.

Parameters
context The context.

Public Methods

public boolean equals(java.lang.Object object)

Overrides

Object in Object

Parameters
object

public int hashCode()

Overrides

public long getTime()

Get the time.

Returns

The time.

public void setTime(long time)

Set the time.

Parameters
time The time.

public int getCount()

Get the count.

Returns

The count.

public void setCount(int count)

Set the count.

Parameters
count The count.

public long getSourceId()

Get the source id.

Returns

The source id.

public void setSourceId(long sourceId)

Set the source id.

Parameters
sourceId The source id.

public void setName(java.lang.String name)

Set the name.

Parameters
name The name.

public void setTitle(java.lang.String title)

Set the title.

Parameters
title The title.

public void setMessage(java.lang.String message)

Set the message.

Parameters
message The message.

public void setContactReference(java.lang.String contactReference)

Set the contact reference.

Parameters
contactReference The contact reference.

public void setProfileImageUri(java.lang.String profileImageUri)

Set the profile image URI.

Parameters
profileImageUri The profile image URI.

public Bitmap getImage()

Get the widget image.

Returns

The image.

public java.lang.String getName()

Get the name.

Returns

The name.

public java.lang.String getTitle()

Get the title.

Returns

The title.

public java.lang.String getFriendKey()

Get the friend key.

Returns

The friend key.

public void setFriendKey(java.lang.String friendKey)

Set the friend key.

Parameters
friendKey The friend key.