UpdatableScript.UpdateCallback
Date: 2012-06-29

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.chromium.sdk
Interface UpdatableScript.UpdateCallback

Enclosing interface:
  UpdatableScript

    public static interface UpdatableScript.UpdateCallback

Method Summary
`void` | `failure(java.lang.String message)`
`void` | `success(java.lang.Object report, UpdatableScript.ChangeDescription changeDescription)` Script text change has succeeded or was successfully pre-calculated (in preview mode).

Method Detail

### success

    void success(java.lang.Object report,
                 UpdatableScript.ChangeDescription changeDescription)

  Script text change has succeeded or was successfully pre-calculated (in preview mode). `DebugEventListener.scriptContentChanged(org.chromium.sdk.Script)` will be called additionally. Besides, a current context may be dismissed and recreated after this event. The order of all listed event notifications is not currently specified.

  Parameters:
    `report` - unspecified implementation-dependent report for debugging purposes; may be null
    `changeDescription` - describes live editing change that has been applied or is planned to be applied; may be null if backend or VM does not support

### failure

    void failure(java.lang.String message)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD