com.evolution.player.core.media
Interface IMusicProviderManager


public interface IMusicProviderManager

A music provider manager allows to manage the disabled and enabled state of music providers.

Since:
0.6

Method Summary
 java.lang.String[] getDisabledProviders()
          Set of all disabled music providers.
 java.lang.String[] getMusicProviders()
          All known music provider to the system.
 boolean isEnabled(java.lang.String id)
          Is the music provider with the given id enabled?
 void setEnabled(java.lang.String id, boolean enabled)
          Enable or disabled the music provider with the given id based on the state of enabled.
 

Method Detail

getMusicProviders

java.lang.String[] getMusicProviders()
All known music provider to the system.

Returns:
the set of all known music providers

setEnabled

void setEnabled(java.lang.String id,
                boolean enabled)
Enable or disabled the music provider with the given id based on the state of enabled.

Parameters:
id - the id of the provider to enable or disable
enabled - true if the provider should be enabled, false otherwise

isEnabled

boolean isEnabled(java.lang.String id)
Is the music provider with the given id enabled?

Parameters:
id - the id of the provider to test for enablement
Returns:
true if the provider is enabled or unknown

getDisabledProviders

java.lang.String[] getDisabledProviders()
Set of all disabled music providers.

Returns:
the disabled music providers