C# Class OpenHome.Songcast.Songcast

Inheritance: IDisposable, IConfiguration
Mostrar archivo Open project: openhome/ohSongcast Class Usage Examples

Public Methods

Method Description
Channel ( ) : uint
Dispose ( ) : void
Enabled ( ) : bool
Latency ( ) : uint
Multicast ( ) : bool
Preset ( ) : uint
RefreshReceivers ( ) : void
SetChannel ( uint aValue ) : void
SetEnabled ( bool aValue ) : void
SetLatency ( uint aValue ) : void
SetMetatext ( IntPtr aHandle, string aValue ) : void
SetMulticast ( bool aValue ) : void
SetPreset ( uint aValue ) : void
SetSubnet ( uint aValue ) : void
SetTrack ( IntPtr aHandle, string aUri, string aMetadata, long aSamplesTotal, long aSampleStart ) : void
SetTtl ( uint aValue ) : void
Songcast ( string aDomain, uint aSubnet, uint aChannel, uint aTtl, uint aLatency, bool aMulticast, bool aEnabled, uint aPreset, IReceiverHandler aReceiverHandler, ISubnetHandler aSubnetHandler, IConfigurationChangedHandler aConfigurationChangedHandler, IMessageHandler aLogOutputHandler, string aManufacturer, string aManufacturerUrl, string aModelUrl, byte aImage, string aMimeType ) : System
Subnet ( ) : uint
Ttl ( ) : uint

Private Methods

Method Description
ConfigurationChangedCallback ( IntPtr aPtr, IntPtr aSongcast ) : void
FatalErrorCallback ( IntPtr aPtr, char aMessage ) : void
LogOutputCallback ( IntPtr aPtr, char aMessage ) : void
ReceiverAdded ( IntPtr aReceiver ) : void
ReceiverCallback ( IntPtr aPtr, ECallbackType aType, IntPtr aReceiver ) : void
ReceiverChanged ( IntPtr aReceiver ) : void
ReceiverMuteChanged ( IntPtr aReceiver ) : void
ReceiverRemoved ( IntPtr aReceiver ) : void
ReceiverVolumeChanged ( IntPtr aReceiver ) : void
ReceiverVolumeControlChanged ( IntPtr aReceiver ) : void
ReceiverVolumeLimitChanged ( IntPtr aReceiver ) : void
SongcastChannel ( IntPtr aHandle ) : uint
SongcastCreate ( string aDomain, uint aSubnet, uint aChannel, uint aTtl, uint aLatency, bool aMulticast, bool aEnabled, uint aPreset, DelegateReceiverCallback aReceiverCallback, IntPtr aReceiverPtr, DelegateSubnetCallback aSubnetCallback, IntPtr aSubnetPtr, DelegateConfigurationChangedCallback aConfigurationChangedCallback, IntPtr aConfigurationChangedPtr, DelegateMessageCallback aFatalErrorCallback, IntPtr aFatalErrorPtr, DelegateMessageCallback aLogOutputCallback, IntPtr aLogOutputPtr, string aManufacturer, string aManufacturerUrl, string aModelUrl, byte aImagePtr, int aImageBytes, string aMimeType ) : IntPtr
SongcastDestroy ( IntPtr aHandle ) : void
SongcastEnabled ( IntPtr aHandle ) : bool
SongcastLatency ( IntPtr aHandle ) : uint
SongcastMulticast ( IntPtr aHandle ) : bool
SongcastPreset ( IntPtr aHandle ) : uint
SongcastRefreshReceivers ( IntPtr aHandle ) : void
SongcastSetChannel ( IntPtr aHandle, uint aValue ) : void
SongcastSetEnabled ( IntPtr aHandle, bool aValue ) : void
SongcastSetLatency ( IntPtr aHandle, uint aValue ) : void
SongcastSetMetatext ( IntPtr aHandle, char aValue ) : void
SongcastSetMulticast ( IntPtr aHandle, bool aValue ) : void
SongcastSetPreset ( IntPtr aHandle, uint aValue ) : void
SongcastSetSubnet ( IntPtr aHandle, uint aValue ) : void
SongcastSetTrack ( IntPtr aHandle, char aUri, char aMetadata, long aSamplesTotal, long aSampleStart ) : void
SongcastSetTtl ( IntPtr aHandle, uint aValue ) : void
SongcastSubnet ( IntPtr aHandle ) : uint
SongcastTtl ( IntPtr aHandle ) : uint
SubnetAdded ( IntPtr aSubnet ) : void
SubnetCallback ( IntPtr aPtr, ECallbackType aType, IntPtr aSubnet ) : void
SubnetChanged ( IntPtr aSubnet ) : void
SubnetRemoved ( IntPtr aSubnet ) : void

Method Details

Channel() public method

public Channel ( ) : uint
return uint

Dispose() public method

public Dispose ( ) : void
return void

Enabled() public method

public Enabled ( ) : bool
return bool

Latency() public method

public Latency ( ) : uint
return uint

Multicast() public method

public Multicast ( ) : bool
return bool

Preset() public method

public Preset ( ) : uint
return uint

RefreshReceivers() public method

public RefreshReceivers ( ) : void
return void

SetChannel() public method

public SetChannel ( uint aValue ) : void
aValue uint
return void

SetEnabled() public method

public SetEnabled ( bool aValue ) : void
aValue bool
return void

SetLatency() public method

public SetLatency ( uint aValue ) : void
aValue uint
return void

SetMetatext() public method

public SetMetatext ( IntPtr aHandle, string aValue ) : void
aHandle IntPtr
aValue string
return void

SetMulticast() public method

public SetMulticast ( bool aValue ) : void
aValue bool
return void

SetPreset() public method

public SetPreset ( uint aValue ) : void
aValue uint
return void

SetSubnet() public method

public SetSubnet ( uint aValue ) : void
aValue uint
return void

SetTrack() public method

public SetTrack ( IntPtr aHandle, string aUri, string aMetadata, long aSamplesTotal, long aSampleStart ) : void
aHandle IntPtr
aUri string
aMetadata string
aSamplesTotal long
aSampleStart long
return void

SetTtl() public method

public SetTtl ( uint aValue ) : void
aValue uint
return void

Songcast() public method

public Songcast ( string aDomain, uint aSubnet, uint aChannel, uint aTtl, uint aLatency, bool aMulticast, bool aEnabled, uint aPreset, IReceiverHandler aReceiverHandler, ISubnetHandler aSubnetHandler, IConfigurationChangedHandler aConfigurationChangedHandler, IMessageHandler aLogOutputHandler, string aManufacturer, string aManufacturerUrl, string aModelUrl, byte aImage, string aMimeType ) : System
aDomain string
aSubnet uint
aChannel uint
aTtl uint
aLatency uint
aMulticast bool
aEnabled bool
aPreset uint
aReceiverHandler IReceiverHandler
aSubnetHandler ISubnetHandler
aConfigurationChangedHandler IConfigurationChangedHandler
aLogOutputHandler IMessageHandler
aManufacturer string
aManufacturerUrl string
aModelUrl string
aImage byte
aMimeType string
return System

Subnet() public method

public Subnet ( ) : uint
return uint

Ttl() public method

public Ttl ( ) : uint
return uint