Class: Toybox::Application::AudioContentProviderApp

Inherits:
AppBase show all

Overview

The base class for audio content provider apps.

This object extends AppBase and adds new methods for getting different initial view types based on what mode the app needs to be started in.

Since:

  • 3.0.0

App Types:

  • App

  • Audio Content Provider App

  • Glance Support

  • Background Services

Instance Method Summary collapse

Methods inherited from AppBase

allowTrialMessage, clearProperties, deleteProperty, getGlanceView, getGoalView, getInitialView, getProperty, getServiceDelegate, getTrialDaysRemaining, isTrial, loadProperties, onAppInstall, onAppUpdate, onBackgroundData, onSettingsChanged, onStart, onStop, saveProperties, setProperty, validateProperty

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeAudioContentProviderApp

The AudioContentProviderApp constructor.

Since:

  • 3.0.0


2139
2140
# File 'Monkeybrains.rb', line 2139

def initialize()
end

Instance Method Details

getContentDelegate(args) ⇒ Toybox::Media::ContentDelegate

Get a ContentDelegate for use by the system to get and iterate through media content on the device.

Returns:

Since:

  • 3.0.0


2146
2147
# File 'Monkeybrains.rb', line 2146

def getContentDelegate(args)
end

getPlaybackConfigurationViewToybox::Lang::Array

Get the initial view for configuring playback.

Returns:

Since:

  • 3.0.0


2164
2165
# File 'Monkeybrains.rb', line 2164

def getPlaybackConfigurationView()
end

getProviderIconInfoToybox::Media::ProviderIconInfo

Get audio provider icon information.

Returns:

Since:

  • 3.0.0


2170
2171
# File 'Monkeybrains.rb', line 2170

def getProviderIconInfo()
end

getSyncConfigurationViewToybox::Lang::Array

Get the initial view for configuring sync.

Returns:

Since:

  • 3.0.0


2178
2179
# File 'Monkeybrains.rb', line 2178

def getSyncConfigurationView()
end

getSyncDelegateToybox::Media::SyncDelegate

Deprecated.

This method will be removed in Connect IQ 6.0.0

Get a SyncDelegate object that communicates sync status to the system for syncing media content to the device.

Returns:

See Also:

Since:

  • 3.0.0


2156
2157
# File 'Monkeybrains.rb', line 2156

def getSyncDelegate()
end