Sony Addon SDK public abstract class

DelayedContentObserver

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

Class Overview

The delayed content observer is used to handle a content observer change after a delay. If more content observer changes are triggered during the delay the original change is deleted and a new delay is set.

Summary

Constants
int EVENT_READ_DELAY
int CONTACTS_UPDATE_DELAY
Public Constructors
DelayedContentObserver(Handler handler, int delay)

Create delayed content observer.

Public Methods
abstract void onChangeDelayed()

onChangeDelayed is called when the delay has passed and no new changes has been triggered during the delay.

void onChange(boolean selfChange)

Constants

public static final int EVENT_READ_DELAY

Constant Value: 1000 (0x000003e8)

public static final int CONTACTS_UPDATE_DELAY

Constant Value: 3000 (0x00000bb8)

Public Constructors

public DelayedContentObserver(Handler handler, int delay)

Create delayed content observer.

Parameters
handler The handler.
delay The delay in ms.

Public Methods

public abstract void onChangeDelayed()

onChangeDelayed is called when the delay has passed and no new changes has been triggered during the delay.

public void onChange(boolean selfChange)

Parameters
selfChange