|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bramosystems.oss.player.core.client.PlayerInfo
public class PlayerInfo
Wraps basic information about a player widget registered with the API.
Constructor Summary | |
---|---|
PlayerInfo(String providerName,
String playerName,
PluginVersion requiredPluginVersion,
boolean hasPlaylistSupport,
boolean hasMatrixSupport)
Creates PlayerInfo object |
Method Summary | |
---|---|
PluginVersion |
getDetectedPluginVersion()
Returns the version of the required player plugin detected on the browser |
String |
getPlayerName()
Returns the name of the player |
String |
getProviderName()
Returns the provider name of the player |
Set<String> |
getRegisteredExtensions()
Returns the media format file extensions supported by the player |
Set<String> |
getRegisteredProtocols()
Returns the streaming protocols supported by the player |
PluginVersion |
getRequiredPluginVersion()
Returns the minimum plugin version required by the player |
boolean |
isHasMatrixSupport()
Returns true if player has matrix support, false otherwise |
boolean |
isHasPlaylistSupport()
Returns true if player has playlist support, false otherwise |
void |
setDetectedPluginVersion(PluginVersion detectedPluginVersion)
Sets the version of the required player plugin detected on the browser |
protected void |
setRegisteredExtensions(Set<String> registeredExtensions)
Sets the media format file extensions supported by the player |
protected void |
setRegisteredProtocols(Set<String> registeredProtocols)
Sets the streaming protocols supported by the player |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayerInfo(String providerName, String playerName, PluginVersion requiredPluginVersion, boolean hasPlaylistSupport, boolean hasMatrixSupport)
providerName
- the provider of the playerplayerName
- the name of the playerrequiredPluginVersion
- the minimum plugin version required by the playerhasPlaylistSupport
- true
if player supports playlists, false
otherwise.hasMatrixSupport
- true
if player supports matrix, false
otherwise.Method Detail |
---|
public String getProviderName()
public String getPlayerName()
public PluginVersion getRequiredPluginVersion()
public boolean isHasMatrixSupport()
true
if player has matrix support, false
otherwise
true
if player has matrix support, false
otherwiseMatrixSupport
public boolean isHasPlaylistSupport()
true
if player has playlist support, false
otherwise
false
otherwisePlaylistSupport
public PluginVersion getDetectedPluginVersion()
public void setDetectedPluginVersion(PluginVersion detectedPluginVersion)
detectedPluginVersion
- the player plugin version detected on the browserpublic Set<String> getRegisteredExtensions()
protected void setRegisteredExtensions(Set<String> registeredExtensions)
registeredExtensions
- the supported media file format extensionspublic Set<String> getRegisteredProtocols()
protected void setRegisteredProtocols(Set<String> registeredProtocols)
registeredProtocols
- the supported streaming protocols
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |