Class: $.WebRequestDelegate
- Inherits:
-
WatchUi.BehaviorDelegate
-
WatchUi.BehaviorDelegate
-
Overview
Creates a web request on menu / select events
Instance Member Summary collapse
- _notify as Lang.Method(args as Lang.Dictionary or Lang.String or Null) as Void
Instance Method Summary collapse
-
initialize(handler as Lang.Method(args as Lang.Dictionary or Lang.String or Null) as Void)
Set up the callback to the view.
-
makeRequest() as Void
Make the web request.
-
onMenu() as Lang.Boolean
On a menu event, make a web request.
-
onReceive(responseCode as Lang.Number, data as Lang.Dictionary or Null) as Void
Receive the data from the web request.
-
onSelect() as Lang.Boolean
On a select event, make a web request.
Instance Attribute Details
var _notify as Lang.Method(args as Lang.Dictionary or Lang.String or Null) as Void
Instance Method Details
initialize(handler as Lang.Method(args as Lang.Dictionary or Lang.String or Null) as Void)
Set up the callback to the view
makeRequest() as Void
Make the web request
onMenu() as Lang.Boolean
On a menu event, make a web request
onReceive(responseCode as Lang.Number, data as Lang.Dictionary or Null) as Void
Receive the data from the web request
onSelect() as Lang.Boolean
On a select event, make a web request