|
virtual bool | OnNavigateTo (const char *url)=0 |
| Called when a navigation is about to occur. The user is able to interrupt the navigation or let it continue normally. More...
|
|
virtual void | OnScriptContextCreated ()=0 |
| Called immediately after the script context has been created for the page. This happens before starting to build the DOM. Execute any scripts that will influence DOM creation here.
|
|
virtual void | OnDOMBuilt ()=0 |
| Called when the page's DOM is fully constructed, but the referenced resources may not finish loading.
|
|
virtual void | OnLoadFailed (const char *url, const char *error)=0 |
| Called when a navigaton change request failed. More...
|
|
virtual void | OnFinishLoad (const char *url)=0 |
| Called when a page, including the resources it refers to, is completely loaded and initialized. More...
|
|
virtual void | OnReadyForBindings ()=0 |
| Called when the view is ready to accept JavaScript bindings.
|
|
virtual void | OnBindingsReleased ()=0 |
| Called when the JavaScript bindings are released Use this call to release any resources hold by the JavaScript bindings for the view.
|
|
virtual ScreenInfo | OnScreenInfoRequested ()=0 |
| Called when javascript requested screen metrics Returns current screen metrics.
|
|
virtual EventAction::Actions | OnNodeTouched (const INodeProxy *node, const TouchEventData *event, void *userData, const InputEventPhase::PhaseType phase)=0 |
| Called before an event is passed to a DOM node for evaluation. The user is able to interrupt the handling and bubbling of events or let them continue normally. Phase is the current PhaseType of the event.
|
|
virtual EventAction::Actions | OnNodeMouseEvent (const INodeProxy *node, const MouseEventData *event, void *userData, const InputEventPhase::PhaseType phase)=0 |
| Called before an event is passed to a DOM node for evaluation. The user is able to interrupt the handling and bubbling of events or let them continue normally. Phase is the current PhaseType of the event.
|
|
virtual EventAction::Actions | OnNodeKeyEvent (const INodeProxy *node, const KeyEventData *event, void *userData, const InputEventPhase::PhaseType phase)=0 |
| Called before an event is passed to a DOM node for evaluation. The user is able to interrupt the handling and bubbling of events or let them continue normally. Phase is the current PhaseType of the event.
|
|
virtual void | OnAudioStreamCreated (int id, int bitDepth, int channels, float samplingRate) |
| Called by the UI when a media element initializes an audio stream. More...
|
|
virtual void | OnAudioStreamClosed (int id) |
| Called when an audio stream is destroyed. More...
|
|
virtual void | OnAudioStreamPlay (int id) |
| Called by the UI when a media element starts playing an audio stream. More...
|
|
virtual void | OnAudioStreamPause (int id) |
| Called by the UI when a playing media element pauses. More...
|
|
virtual void | OnAudioDataReceived (int id, int samples, float **pcm, int channels) |
| Called by the UI when there is decoded PCM data available for playing. More...
|
|
virtual void | OnAudioStreamEnded (int id) |
| Called when an audio stream ends and will no longer receive data. More...
|
|
virtual void | OnAudioStreamVolumeChanged (int id, float volume) |
| Called when an audio stream volume has changed. More...
|
|
virtual void | OnTextInputTypeChanged (TextInputControlType::ControlType type)=0 |
| Called when the current text input control changes (i.e. the user click an edit-box). Use this method to decide when to allow for IME input. More...
|
|
virtual void | OnCaretRectChanged (int x, int y, unsigned width, unsigned height)=0 |
| Called when the caret changes during IME composition. You can use this method to correctly position a custom IME control & candidate list. More...
|
|
virtual void | OnIMEShouldCancelComposition ()=0 |
| Called when the user must cancel the IME composition due to an event in the View itself (i.e. the user has focused a non-editable element while a composition was on-going)
|
|
Interface that allows to listen for various events in the View.