C# Class ELTE_OCX.ELTE_player

Show file Open project: eSDK/esdk_elte Class Usage Examples

Public Methods

Method Description
ELTE_player ( ) : System
VideoPlayClose ( ) : bool

关闭卸载播放器

load_OCX ( ) : bool

加载OCX控件

showPlay ( string resourceID, string localXml, string remoteXml ) : bool

显示视频

showToolBar ( int pToolBar ) : bool

显示工具栏

startPlay ( string cameraNo, string videoXml ) : bool

播放视频

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ELTE_player_FormClosing ( object sender, FormClosingEventArgs e ) : void

关闭窗口

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ELTE_player() public method

public ELTE_player ( ) : System
return System

VideoPlayClose() public method

关闭卸载播放器
public VideoPlayClose ( ) : bool
return bool

load_OCX() public method

加载OCX控件
public load_OCX ( ) : bool
return bool

showPlay() public method

显示视频
public showPlay ( string resourceID, string localXml, string remoteXml ) : bool
resourceID string
localXml string
remoteXml string
return bool

showToolBar() public method

显示工具栏
public showToolBar ( int pToolBar ) : bool
pToolBar int 0,不显示,1显示
return bool

startPlay() public method

播放视频
public startPlay ( string cameraNo, string videoXml ) : bool
cameraNo string
videoXml string
return bool