LibVLCSetDialogHandlers 方法 |
Register callbacks in order to handle VLC dialogs.
LibVLC 3.0.0 and later.
命名空间:
LibVLCSharp.Shared
程序集:
CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法 public void SetDialogHandlers(
DisplayError error,
DisplayLogin login,
DisplayQuestion question,
DisplayProgress displayProgress,
UpdateProgress updateProgress
)
参数
- error
- 类型:LibVLCSharp.SharedDisplayError
Called when an error message needs to be displayed. - login
- 类型:LibVLCSharp.SharedDisplayLogin
Called when a login dialog needs to be displayed.
You can interact with this dialog by calling Dialog.PostLogin() to post an answer or Dialog.Dismiss() to cancel this dialog. - question
- 类型:LibVLCSharp.SharedDisplayQuestion
Called when a question dialog needs to be displayed.
You can interact with this dialog by calling Dialog.PostLogin() to post an answer or Dialog.Dismiss() to cancel this dialog. - displayProgress
- 类型:LibVLCSharp.SharedDisplayProgress
Called when a progress dialog needs to be displayed. - updateProgress
- 类型:LibVLCSharp.SharedUpdateProgress
Called when a progress dialog needs to be updated.
参见