public static interface SpenObjectRuntime.UpdateListener
| Modifier and Type | Method and Description |
|---|---|
void |
onCanceled(int state,
Object objectBase)
Called when object insertion in a ObjectRuntime is canceled.
|
void |
onCompleted(Object objectBase)
Called when object insertion in a ObjectRuntime is completed.
|
void |
onObjectUpdated(RectF rect,
Object objectBase)
Called when an object in a ObjectRuntime is updated.
|
void onObjectUpdated(RectF rect, Object objectBase)
rect - The area containing the object .objectBase - The updated object.void onCanceled(int state,
Object objectBase)
state - if object insertion is cancelled in the beginning - SpenObjectRuntimeInterface.CANCEL_STATE_INSERT
if object insertion is cancelled during the process - SpenObjectRuntimeInterface.CANCEL_STATE_RUNobjectBase - The cancelled object.void onCompleted(Object objectBase)
objectBase - The object inserted.