Class: Toybox::PersistedContent::Workout

Inherits:
Lang::Object show all

Overview

A structured custom Workout saved on the device.

See Also:

Since:

  • 2.2.0

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Method Details

getIdToybox::Lang::Number

Get a unique serializable id

Returns:

Since:

  • 2.2.0


9246
9247
# File 'Monkeybrains.rb', line 9246

def getId()
end

getNameToybox::Lang::String

Get a readable name for the content

Returns:

Since:

  • 2.2.0


9240
9241
# File 'Monkeybrains.rb', line 9240

def getName()
end

removeObject

Remove a workout

Raises:

Since:

  • 3.0.0


9259
9260
# File 'Monkeybrains.rb', line 9259

def remove()
end

toIntentToybox::System::Intent

Get a system intent for the content

Returns:

Since:

  • 2.2.0


9252
9253
# File 'Monkeybrains.rb', line 9252

def toIntent()
end