Exemplo n.º 1
0
 // Token: 0x06000003 RID: 3 RVA: 0x000020A4 File Offset: 0x000002A4
 public IntPtr Create(IntPtr hParentWnd, int x, int y, int nWidth, int nHeight)
 {
     this.onMessage          = new APlayerHelper.OnMessageDelegate(this.OnMessageFunction);
     this.onStateChanged     = new APlayerHelper.OnStateChangedDelegate(this.OnStateChangedFunction);
     this.onOpenSuccess      = new APlayerHelper.OnOpenSuccessDelegate(this.OnOpenSuccessFunction);
     this.onSeekCompleted    = new APlayerHelper.OnSeekCompletedDelegate(this.OnSeekCompletedFunction);
     this.onBuffer           = new APlayerHelper.OnBufferDelegate(this.OnBufferFunction);
     this.onVideoSizeChanged = new APlayerHelper.OnVideoSizeChangedDelegate(this.OnVideoSizeChangedFunction);
     this.onDownloadCodec    = new APlayerHelper.OnDownloadCodecDelegate(this.OnDownloadCodecFunction);
     this.onEvent            = new APlayerHelper.OnEventDelegate(this.OnEventFunction);
     this.Handle             = APlayerHelper.APlayer_Create(hParentWnd, x, y, nWidth, nHeight, this.onMessage,
                                                            this.onStateChanged, this.onOpenSuccess, this.onSeekCompleted, this.onBuffer, this.onVideoSizeChanged,
                                                            this.onDownloadCodec, this.onEvent);
     return(this.Handle);
 }
Exemplo n.º 2
0
 // Token: 0x0600000A RID: 10 RVA: 0x000021D8 File Offset: 0x000003D8
 public bool Close()
 {
     return(APlayerHelper.APlayer_Close(this.Handle));
 }
Exemplo n.º 3
0
 // Token: 0x06000008 RID: 8 RVA: 0x000021B0 File Offset: 0x000003B0
 public bool Open(string pszUrl)
 {
     this.GetConfig(119);
     return(APlayerHelper.APlayer_OpenA(this.Handle, pszUrl));
 }
Exemplo n.º 4
0
 // Token: 0x06000006 RID: 6 RVA: 0x00002190 File Offset: 0x00000390
 public bool Destroy()
 {
     return(APlayerHelper.APlayer_Destroy(this.Handle));
 }
Exemplo n.º 5
0
 // Token: 0x0600002C RID: 44 RVA: 0x000023F8 File Offset: 0x000005F8
 public IntPtr GetWindow()
 {
     return(APlayerHelper.APlayer_GetWindow(this.Handle));
 }
Exemplo n.º 6
0
 // Token: 0x0600002A RID: 42 RVA: 0x000023D8 File Offset: 0x000005D8
 public int SetConfig(int nConfigId, string strValue)
 {
     return(APlayerHelper.APlayer_SetConfigA(this.Handle, nConfigId, strValue));
 }
Exemplo n.º 7
0
 // Token: 0x06000026 RID: 38 RVA: 0x00002398 File Offset: 0x00000598
 public int GetBufferProgress()
 {
     return(APlayerHelper.APlayer_GetBufferProgress(this.Handle));
 }
Exemplo n.º 8
0
 // Token: 0x06000012 RID: 18 RVA: 0x00002258 File Offset: 0x00000458
 public bool SetCustomLogo(IntPtr aplayer, int nLogo)
 {
     return(APlayerHelper.APlayer_SetCustomLogo(this.Handle, nLogo));
 }
Exemplo n.º 9
0
 // Token: 0x06000024 RID: 36 RVA: 0x00002378 File Offset: 0x00000578
 public int IsSeeking()
 {
     return(APlayerHelper.APlayer_IsSeeking(this.Handle));
 }
Exemplo n.º 10
0
 // Token: 0x06000022 RID: 34 RVA: 0x00002358 File Offset: 0x00000558
 public int SetVolume(int nVolume)
 {
     return(APlayerHelper.APlayer_SetVolume(this.Handle, nVolume));
 }
Exemplo n.º 11
0
 // Token: 0x06000020 RID: 32 RVA: 0x00002338 File Offset: 0x00000538
 public int GetVolume()
 {
     return(APlayerHelper.APlayer_GetVolume(this.Handle));
 }
Exemplo n.º 12
0
 // Token: 0x0600001E RID: 30 RVA: 0x00002318 File Offset: 0x00000518
 public int GetVideoHeight()
 {
     return(APlayerHelper.APlayer_GetVideoHeight(this.Handle));
 }
Exemplo n.º 13
0
 // Token: 0x0600001C RID: 28 RVA: 0x000022F8 File Offset: 0x000004F8
 public int GetVideoWidth()
 {
     return(APlayerHelper.APlayer_GetVideoWidth(this.Handle));
 }
Exemplo n.º 14
0
 // Token: 0x0600001A RID: 26 RVA: 0x000022D8 File Offset: 0x000004D8
 public int SetPosition(int nPosition)
 {
     return(APlayerHelper.APlayer_SetPosition(this.Handle, nPosition));
 }
Exemplo n.º 15
0
 // Token: 0x06000018 RID: 24 RVA: 0x000022B8 File Offset: 0x000004B8
 public int GetPosition()
 {
     return(APlayerHelper.APlayer_GetPosition(this.Handle));
 }
Exemplo n.º 16
0
 // Token: 0x0600000C RID: 12 RVA: 0x000021F8 File Offset: 0x000003F8
 public bool Play()
 {
     return(APlayerHelper.APlayer_Play(this.Handle));
 }
Exemplo n.º 17
0
 // Token: 0x0600000E RID: 14 RVA: 0x00002218 File Offset: 0x00000418
 public bool Pause()
 {
     return(APlayerHelper.APlayer_Pause(this.Handle));
 }
Exemplo n.º 18
0
 // Token: 0x06000010 RID: 16 RVA: 0x00002238 File Offset: 0x00000438
 public string GetVersion()
 {
     return(APlayerHelper.APlayer_GetVersion(this.Handle));
 }