Class: Toybox.Application.AudioContentProviderApp
- Inherits:
-
Toybox.Application.AppBase
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.
Instance Method Summary collapse
-
getContentDelegate(args as Application.PersistableType) Media.ContentDelegate
Get a ContentDelegate for use by the system to get and iterate through media content on the device.
-
getPlaybackConfigurationView() as Lang.Array<WatchUi.Views or WatchUi.InputDelegates> or Null
Override to provide the initial View and Input Delegate for configuring playback.
-
getProviderIconInfo()
Get audio provider icon information.
-
getSyncConfigurationView() as Lang.Array<WatchUi.Views or WatchUi.InputDelegates> or Null
Override to provide the initial View and Input Delegate for configuring sync.
-
getSyncDelegate() as Communications.SyncDelegate or Null
deprecated
Get a SyncDelegate object that communicates sync status to the system for syncing media content to the device.
-
initialize()
Constructor.
Instance Method Details
getContentDelegate(args as Application.PersistableType) Media.ContentDelegate
Get a ContentDelegate for use by the system to get and iterate through media content on the device.
getPlaybackConfigurationView() as Lang.Array<WatchUi.Views or WatchUi.InputDelegates> or Null
Override to provide the initial View and Input Delegate for configuring playback.
getProviderIconInfo()
Get audio provider icon information.
getSyncConfigurationView() as Lang.Array<WatchUi.Views or WatchUi.InputDelegates> or Null
Override to provide the initial View and Input Delegate for configuring sync.
getSyncDelegate() as Communications.SyncDelegate or Null
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.
initialize()
Constructor