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


8096
8097
# File 'Monkeybrains.rb', line 8096

def getId()
end

getNameToybox::Lang::String

Get a readable name for the content

Returns:

Since:

  • 2.2.0


8090
8091
# File 'Monkeybrains.rb', line 8090

def getName()
end

removeObject

Remove a workout

Raises:

Since:

  • 3.0.0


8109
8110
# File 'Monkeybrains.rb', line 8109

def remove()
end

toIntentToybox::System::Intent

Get a system intent for the content

Returns:

Since:

  • 2.2.0


8102
8103
# File 'Monkeybrains.rb', line 8102

def toIntent()
end