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

  • Background Services

Instance Method Summary collapse

Methods inherited from AppBase

allowTrialMessage, clearProperties, deleteProperty, 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


2114
2115
# File 'Monkeybrains.rb', line 2114

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


2121
2122
# File 'Monkeybrains.rb', line 2121

def getContentDelegate(args)
end

getPlaybackConfigurationViewToybox::Lang::Array

Get the initial view for configuring playback.

Returns:

Since:

  • 3.0.0


2137
2138
# File 'Monkeybrains.rb', line 2137

def getPlaybackConfigurationView()
end

getProviderIconInfoToybox::Media::ProviderIconInfo

Get audio provider icon information.

Returns:

Since:

  • 3.0.0


2143
2144
# File 'Monkeybrains.rb', line 2143

def getProviderIconInfo()
end

getSyncConfigurationViewToybox::Lang::Array

Get the initial view for configuring sync.

Returns:

Since:

  • 3.0.0


2151
2152
# File 'Monkeybrains.rb', line 2151

def getSyncConfigurationView()
end

getSyncDelegateToybox::Media::SyncDelegate

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

Returns:

Since:

  • 3.0.0


2129
2130
# File 'Monkeybrains.rb', line 2129

def getSyncDelegate()
end