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



7671
7672
# File 'Monkeybrains.rb', line 7671

def getId()
end

getNameToybox::Lang::String

Get a readable name for the content

Returns:

Since:

  • 2.2.0



7665
7666
# File 'Monkeybrains.rb', line 7665

def getName()
end

removeObject

Remove a workout

Raises:

Since:

  • 3.0.0



7684
7685
# File 'Monkeybrains.rb', line 7684

def remove()
end

toIntentToybox::System::Intent

Get a system intent for the content

Returns:

Since:

  • 2.2.0



7677
7678
# File 'Monkeybrains.rb', line 7677

def toIntent()
end