Class: $.RecordSampleView
- Inherits:
-
WatchUi.View
-
WatchUi.View
-
Overview
Instance Member Summary collapse
- _session as ActivityRecording.Session or Null
Instance Method Summary collapse
-
initialize()
Constructor.
-
isSessionRecording() as Lang.Boolean
Get whether a session is currently recording.
-
onHide() as Void
Called when this View is removed from the screen.
-
onLayout(dc as Graphics.Dc) as Void
Load your resources here.
-
onShow() as Void
Restore the state of the app and prepare the view to be shown.
-
onUpdate(dc as Graphics.Dc) as Void
Update the view.
-
startRecording() as Void
Start recording a session.
-
stopRecording() as Void
Stop the recording if necessary.
Instance Attribute Details
var _session as ActivityRecording.Session or Null
Instance Method Details
initialize()
Constructor
isSessionRecording() as Lang.Boolean
Get whether a session is currently recording
onHide() as Void
Called when this View is removed from the screen. Save the state of this View here. This includes freeing resources from memory.
onLayout(dc as Graphics.Dc) as Void
Load your resources here
onShow() as Void
Restore the state of the app and prepare the view to be shown.
onUpdate(dc as Graphics.Dc) as Void
Update the view
startRecording() as Void
Start recording a session
stopRecording() as Void
Stop the recording if necessary