Class: $.RecordSampleView

Inherits:
WatchUi.View show all

Overview

Instance Member Summary collapse

Instance Method Summary collapse

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

Returns:

  • true if there is a session currently recording, false otherwise

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

Parameters:

  • dc —

    Device context

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

Parameters:

  • dc —

    Device context

startRecording() as Void

Start recording a session

stopRecording() as Void

Stop the recording if necessary


Generated Jun 9, 2026, 8:45:58 AM