C# Class Njb.Device

Inheritance: IDisposable
ファイルを表示 Open project: mono/njb-sharp Class Usage Examples

Private Properties

Property Type Description
NJB_Capture int
NJB_Close void
NJB_Delete_Track int
NJB_Error_Geterror System.IntPtr
NJB_Error_Pending int
NJB_Get_Auxpower int
NJB_Get_Battery_Charging int
NJB_Get_Battery_Level int
NJB_Get_Datafile_Tag System.IntPtr
NJB_Get_Device_Name System.IntPtr
NJB_Get_Disk_Usage int
NJB_Get_Firmware_Revision int
NJB_Get_Hardware_Revision int
NJB_Get_Owner_String System.IntPtr
NJB_Get_SDMI_ID int
NJB_Get_Track_Tag System.IntPtr
NJB_Get_Track_fd int
NJB_Glue_Device_Get_Usb_Bus_Path System.IntPtr
NJB_Glue_Device_Get_Usb_Filename System.IntPtr
NJB_Glue_Get_Device System.IntPtr
NJB_Open int
NJB_Ping void
NJB_Release int
NJB_Reset_Get_Datafile_Tag void
NJB_Reset_Get_Track_Tag void
NJB_Send_Track int
NJB_Set_Owner_String int

Public Methods

Method Description
Capture ( ) : bool
Close ( ) : void
DeleteSong ( Song song ) : void
Device ( Discoverer discoverer, int index ) : System
Dispose ( ) : void
Equals ( object o ) : bool
ForeachError ( ForeachErrorCallback callback ) : void
GetDataFiles ( ) : ICollection
GetDiskUsage ( ulong &bytesTotal, ulong &bytesFree ) : void
GetHashCode ( ) : int
GetSong ( uint id ) : Song
GetSongs ( ) : ICollection
Open ( ) : bool
Ping ( ) : void
ReadSong ( Song song, string path ) : void
Release ( ) : bool
SendSong ( Song song, string path ) : void
ToString ( ) : string

Private Methods

Method Description
NJB_Capture ( IntPtr njb ) : int
NJB_Close ( IntPtr njb ) : void
NJB_Delete_Track ( IntPtr njb, uint trackid ) : int
NJB_Error_Geterror ( IntPtr njb ) : IntPtr
NJB_Error_Pending ( IntPtr njb ) : int
NJB_Get_Auxpower ( IntPtr njb ) : int
NJB_Get_Battery_Charging ( IntPtr njb ) : int
NJB_Get_Battery_Level ( IntPtr njb ) : int
NJB_Get_Datafile_Tag ( IntPtr njb ) : IntPtr
NJB_Get_Device_Name ( IntPtr njb, int type ) : IntPtr
NJB_Get_Disk_Usage ( IntPtr njb, ulong &btotal, ulong &bfree ) : int
NJB_Get_Firmware_Revision ( IntPtr njb, byte &major, byte &minor, byte &release ) : int
NJB_Get_Hardware_Revision ( IntPtr njb, byte &major, byte &minor, byte &release ) : int
NJB_Get_Owner_String ( IntPtr njb ) : IntPtr
NJB_Get_SDMI_ID ( IntPtr njb, IntPtr smdiid ) : int
NJB_Get_Track_Tag ( IntPtr njb ) : IntPtr
NJB_Get_Track_fd ( IntPtr njb, uint trackid, uint size, int fd, NjbXferCallback cb, IntPtr data ) : int
NJB_Glue_Device_Get_Usb_Bus_Path ( IntPtr njb ) : IntPtr
NJB_Glue_Device_Get_Usb_Filename ( IntPtr njb ) : IntPtr
NJB_Glue_Get_Device ( int index ) : IntPtr
NJB_Open ( IntPtr njb ) : int
NJB_Ping ( IntPtr njb ) : void
NJB_Release ( IntPtr njb ) : int
NJB_Reset_Get_Datafile_Tag ( IntPtr njb ) : void
NJB_Reset_Get_Track_Tag ( IntPtr njb ) : void
NJB_Send_Track ( IntPtr njb, IntPtr path, HandleRef songid, NjbXferCallback cb, IntPtr data, uint &trackid ) : int
NJB_Set_Owner_String ( IntPtr njb, IntPtr strPtr ) : int

Method Details

Capture() public method

public Capture ( ) : bool
return bool

Close() public method

public Close ( ) : void
return void

DeleteSong() public method

public DeleteSong ( Song song ) : void
song Song
return void

Device() public method

public Device ( Discoverer discoverer, int index ) : System
discoverer Discoverer
index int
return System

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( object o ) : bool
o object
return bool

ForeachError() public method

public ForeachError ( ForeachErrorCallback callback ) : void
callback ForeachErrorCallback
return void

GetDataFiles() public method

public GetDataFiles ( ) : ICollection
return ICollection

GetDiskUsage() public method

public GetDiskUsage ( ulong &bytesTotal, ulong &bytesFree ) : void
bytesTotal ulong
bytesFree ulong
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSong() public method

public GetSong ( uint id ) : Song
id uint
return Song

GetSongs() public method

public GetSongs ( ) : ICollection
return ICollection

Open() public method

public Open ( ) : bool
return bool

Ping() public method

public Ping ( ) : void
return void

ReadSong() public method

public ReadSong ( Song song, string path ) : void
song Song
path string
return void

Release() public method

public Release ( ) : bool
return bool

SendSong() public method

public SendSong ( Song song, string path ) : void
song Song
path string
return void

ToString() public method

public ToString ( ) : string
return string