public interface SpenStrokeFrameListener
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL_CAUSE_ERROR
One of cancel cause of StrokeFrame.
|
static int |
CANCEL_CAUSE_FAILED_TO_RECOGNIZE
One of cancel cause of StrokeFrame.
|
static int |
CANCEL_CAUSE_OUT_OF_VIEW
One of cancel cause of StrokeFrame.
|
static int |
CANCEL_CAUSE_TOO_SMALL
One of cancel cause of StrokeFrame.
|
static int |
CANCEL_STATE_RETAKE
One of cancel state of StrokeFrame.
|
static int |
CANCEL_STATE_TAKE
One of cancel state of StrokeFrame.
|
static int |
FRAMETYPE_BEAUTIFY
One of frame type of StrokeFrame.
|
static int |
FRAMETYPE_ORIGINAL
One of frame type of StrokeFrame.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onCanceled(int state,
SpenObjectContainer o)
This is callback function for receiving canceled action of StrokeFrame
|
void |
onCompleted(int frameType,
SpenObjectContainer o)
This is callback function for receiving completed action of StrokeFrame
|
static final int CANCEL_STATE_TAKE
static final int CANCEL_STATE_RETAKE
static final int CANCEL_CAUSE_TOO_SMALL
CANCEL_STATE_TAKE,
CANCEL_STATE_RETAKE,
Constant Field Valuesstatic final int CANCEL_CAUSE_FAILED_TO_RECOGNIZE
CANCEL_STATE_TAKE,
CANCEL_STATE_RETAKE,
Constant Field Valuesstatic final int CANCEL_CAUSE_OUT_OF_VIEW
CANCEL_STATE_TAKE,
CANCEL_STATE_RETAKE,
Constant Field Valuesstatic final int CANCEL_CAUSE_ERROR
CANCEL_STATE_TAKE,
CANCEL_STATE_RETAKE,
Constant Field Valuesstatic final int FRAMETYPE_ORIGINAL
static final int FRAMETYPE_BEAUTIFY
void onCanceled(int state,
SpenObjectContainer o)
state - The state which is take or retake or cause of cancel.
CANCEL_STATE_TAKE CANCEL_STATE_RETAKE
CANCEL_CAUSE_TOO_SMALL
CANCEL_CAUSE_FAILED_TO_RECOGNIZE
CANCEL_CAUSE_OUT_OF_VIEW
CANCEL_CAUSE_ERRORo - The canceled SpenObjectContainer.void onCompleted(int frameType,
SpenObjectContainer o)
frameType - The type of StrokeFrame FRAMETYPE_ORIGINAL
FRAMETYPE_BEAUTIFYo - The completed SpenObjectContainer.