internal SafeHandle handle; /**< wrapped safe handle */ #endregion Fields #region Constructors internal BaseObject() { ex = new NativeException (); this.handle = null; }
InstanceHandle Create(int argc, U8String[] argv, NativeException ex);
void AddIntf(InstanceHandle h, U8String name, NativeException ex);
int PlayerCanPause(PlayerHandle player, NativeException ex);
public static extern void ExceptionInit(NativeException e);
State PlayerGetState(PlayerHandle player, NativeException ex);
int PlayerHasVout(PlayerHandle player, NativeException ex);
void PlayerSetTime(PlayerHandle player, long time, NativeException ex);
float PlayerGetPosition(PlayerHandle player, NativeException ex);
long PlayerGetLength(PlayerHandle player, NativeException ex);
long PlayerGetTime(PlayerHandle player, NativeException ex);
void PlayerSetHWND(PlayerHandle player, SafeHandle hwnd, NativeException ex);
void PlayerSetXWindow(PlayerHandle player, int xid, NativeException ex);
void PlayerStop(PlayerHandle player, NativeException ex);
void PlayerPause(PlayerHandle player, NativeException ex);
void PlayerSetPosition(PlayerHandle player, float position, NativeException ex);
void PlayerSetRate(PlayerHandle player, float rate, NativeException ex);
int PlayerGetChapterCount(PlayerHandle player, NativeException ex);
float PlayerGetFPS(PlayerHandle player, NativeException ex);
int PlayerGetChapterCountForTitle(PlayerHandle player, int title, NativeException ex);
int PlayerIsSeekable(PlayerHandle player, NativeException ex);
void PlayerSetTitle(PlayerHandle player, int chapter, NativeException ex);
void EventDetach(EventManagerHandle manager, EventType type, IntPtr callback, IntPtr user_data, NativeException ex);
int PlayerGetTitleCount(PlayerHandle player, NativeException ex);
public static extern void ExceptionClear(NativeException e);
void PlayerNextChapter(PlayerHandle player, NativeException ex);
void Release(IntPtr h, NativeException ex);
void PlayerPreviousChapter(PlayerHandle player, NativeException ex);
MediaHandle MediaCreate(InstanceHandle inst, U8String mrl, NativeException ex);
float PlayerGetRate(PlayerHandle player, NativeException ex);
/** * Releases unmanaged resources associated with the object. * @param disposing true if the disposing the object explicitly, * false if finalizing the object inside the GC. */ protected virtual void Dispose(bool disposing) { if (disposing) { ex.Dispose (); if (handle != null) handle.Close (); } ex = null; handle = null; }
int PlayerIsPlaying(PlayerHandle player, NativeException ex);