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


9249
9250
# File 'Monkeybrains.rb', line 9249

def getId()
end

getNameToybox::Lang::String

Get a readable name for the content

Returns:

Since:

  • 2.2.0


9243
9244
# File 'Monkeybrains.rb', line 9243

def getName()
end

removeObject

Remove a workout

Raises:

Since:

  • 3.0.0


9262
9263
# File 'Monkeybrains.rb', line 9262

def remove()
end

toIntentToybox::System::Intent

Get a system intent for the content

Returns:

Since:

  • 2.2.0


9255
9256
# File 'Monkeybrains.rb', line 9255

def toIntent()
end