| Modifier and Type | Field and Description |
|---|---|
private byte[] |
array |
private List<CustomChannel> |
channels |
private int |
current_channel |
private org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
PrvRadio(org.openhome.net.device.DvDevice iDevice) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannels(List<CustomChannel> channels)
Add a list of Radio Channels
|
protected org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1.Channel |
channel(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected long |
channelsMax(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
private void |
getChannelById()
Find the Channel by Id
|
private void |
getChannelByName(String name)
Find the Channel by Name
|
protected long |
id(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1.IdArray |
idArray(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected boolean |
idArrayChanged(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long arg1) |
private String |
padLeft(String str,
int length,
char padChar) |
protected void |
pause(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected void |
play(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
private void |
playChannel(CustomChannel c)
Play the Channel
|
private void |
playingTrack(int iD) |
protected String |
protocolInfo(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected String |
read(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long id) |
protected String |
readList(org.openhome.net.device.IDvInvocation paramIDvInvocation,
String arg1) |
protected void |
seekSecondAbsolute(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long paramLong) |
protected void |
seekSecondRelative(org.openhome.net.device.IDvInvocation paramIDvInvocation,
int paramInt) |
protected void |
setChannel(org.openhome.net.device.IDvInvocation paramIDvInvocation,
String uri,
String metadata) |
protected void |
setId(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long id,
String uri) |
private void |
setStatus(String status) |
protected void |
stop(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
protected String |
transportState(org.openhome.net.device.IDvInvocation paramIDvInvocation) |
void |
update(Observable o,
Object arg) |
private void |
UpdateIdArray()
Iterate all tracks, and create a 32 bit binary number from the track Id.
|
dispose, enableActionChannel, enableActionChannelsMax, enableActionId, enableActionIdArray, enableActionIdArrayChanged, enableActionPause, enableActionPlay, enableActionProtocolInfo, enableActionRead, enableActionReadList, enableActionSeekSecondAbsolute, enableActionSeekSecondRelative, enableActionSetChannel, enableActionSetId, enableActionStop, enableActionTransportState, enablePropertyChannelsMax, enablePropertyId, enablePropertyIdArray, enablePropertyMetadata, enablePropertyProtocolInfo, enablePropertyTransportState, enablePropertyUri, getPropertyChannelsMax, getPropertyId, getPropertyIdArray, getPropertyMetadata, getPropertyProtocolInfo, getPropertyTransportState, getPropertyUri, setPropertyChannelsMax, setPropertyId, setPropertyIdArray, setPropertyMetadata, setPropertyProtocolInfo, setPropertyTransportState, setPropertyUriprivate org.apache.log4j.Logger log
private byte[] array
private List<CustomChannel> channels
private int current_channel
public void addChannels(List<CustomChannel> channels)
channels - protected org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1.Channel channel(org.openhome.net.device.IDvInvocation paramIDvInvocation)
channel in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected long channelsMax(org.openhome.net.device.IDvInvocation paramIDvInvocation)
channelsMax in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected long id(org.openhome.net.device.IDvInvocation paramIDvInvocation)
id in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected boolean idArrayChanged(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long arg1)
idArrayChanged in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void pause(org.openhome.net.device.IDvInvocation paramIDvInvocation)
pause in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void play(org.openhome.net.device.IDvInvocation paramIDvInvocation)
play in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected String protocolInfo(org.openhome.net.device.IDvInvocation paramIDvInvocation)
protocolInfo in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1.IdArray idArray(org.openhome.net.device.IDvInvocation paramIDvInvocation)
idArray in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void setChannel(org.openhome.net.device.IDvInvocation paramIDvInvocation,
String uri,
String metadata)
setChannel in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected String readList(org.openhome.net.device.IDvInvocation paramIDvInvocation, String arg1)
readList in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected String read(org.openhome.net.device.IDvInvocation paramIDvInvocation, long id)
read in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected String transportState(org.openhome.net.device.IDvInvocation paramIDvInvocation)
transportState in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void stop(org.openhome.net.device.IDvInvocation paramIDvInvocation)
stop in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void seekSecondAbsolute(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long paramLong)
seekSecondAbsolute in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void seekSecondRelative(org.openhome.net.device.IDvInvocation paramIDvInvocation,
int paramInt)
seekSecondRelative in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1protected void setId(org.openhome.net.device.IDvInvocation paramIDvInvocation,
long id,
String uri)
setId in class org.openhome.net.device.providers.DvProviderAvOpenhomeOrgRadio1private void getChannelById()
private void getChannelByName(String name)
name - private void playChannel(CustomChannel c)
c - private void UpdateIdArray()
private void playingTrack(int iD)
private void setStatus(String status)
public void update(Observable o, Object arg)
Copyright © 2013–2014. All rights reserved.