Since: API Level 2.0
public static interface

HtcPaintingView.OnCacheListener

com.htc.painting.engine.HtcPaintingView.OnCacheListener

Class Overview

Interface definition for a callback to be invoked when an Cache events occur.

Summary

Constants
int CACHE_STATE_NOT_READY
int CACHE_STATE_READY
int CACHE_STATE_RUNNING
Public Methods
abstract void onCacheStateChanged(int stateBefore, int stateAfter)
Callback method to be invoked when a Stroke begins

Constants

public static final int CACHE_STATE_NOT_READY

Since: API Level 2.0

Constant Value: 0 (0x00000000)

public static final int CACHE_STATE_READY

Since: API Level 2.0

Constant Value: 1 (0x00000001)

public static final int CACHE_STATE_RUNNING

Since: API Level 2.0

Constant Value: 2 (0x00000002)

Public Methods

public abstract void onCacheStateChanged (int stateBefore, int stateAfter)

Since: API Level 2.0

Callback method to be invoked when a Stroke begins