Class: Toybox.Application.AudioContentProviderApp

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:

API Level 3.0.0

App Types:

  • Audio Content Provider

  • Background

Instance Method Summary collapse

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.

Returns:

Since:

API Level 3.0.0

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.

Returns:

Since:

API Level 3.0.0

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 has been deprecated

This method may be removed after System 9.

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

Returns:

See Also:

Since:

API Level 3.0.0

initialize()

Constructor

Since:

API Level 3.0.0


Generated Mar 18, 2024 2:40:09 PM