C# 클래스 Njb.Device

상속: IDisposable
파일 보기 프로젝트 열기: mono/njb-sharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Capture() 공개 메소드

public Capture ( ) : bool
리턴 bool

Close() 공개 메소드

public Close ( ) : void
리턴 void

DeleteSong() 공개 메소드

public DeleteSong ( Song song ) : void
song Song
리턴 void

Device() 공개 메소드

public Device ( Discoverer discoverer, int index ) : System
discoverer Discoverer
index int
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Equals() 공개 메소드

public Equals ( object o ) : bool
o object
리턴 bool

ForeachError() 공개 메소드

public ForeachError ( ForeachErrorCallback callback ) : void
callback ForeachErrorCallback
리턴 void

GetDataFiles() 공개 메소드

public GetDataFiles ( ) : ICollection
리턴 ICollection

GetDiskUsage() 공개 메소드

public GetDiskUsage ( ulong &bytesTotal, ulong &bytesFree ) : void
bytesTotal ulong
bytesFree ulong
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetSong() 공개 메소드

public GetSong ( uint id ) : Song
id uint
리턴 Song

GetSongs() 공개 메소드

public GetSongs ( ) : ICollection
리턴 ICollection

Open() 공개 메소드

public Open ( ) : bool
리턴 bool

Ping() 공개 메소드

public Ping ( ) : void
리턴 void

ReadSong() 공개 메소드

public ReadSong ( Song song, string path ) : void
song Song
path string
리턴 void

Release() 공개 메소드

public Release ( ) : bool
리턴 bool

SendSong() 공개 메소드

public SendSong ( Song song, string path ) : void
song Song
path string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string