Table of Contents

Class Dialog

Namespace
LibVLCSharp.Shared
Assembly
LibVLCSharp.dll

Dialogs can be raised by libvlc for network actions and logins. You may only call once PostLogin or PostAction or Dismiss after which this instance will be invalid.

public class Dialog
Inheritance
Dialog
Inherited Members

Methods

Dismiss()

Dismiss a dialog. After this call, this instance won't be valid anymore

public bool Dismiss()

Returns

bool

true if properly dismissed, false otherwise

PostAction(int)

Post a question answer. After this call, this instance won't be valid anymore QuestionCb

public bool PostAction(int actionIndex)

Parameters

actionIndex int

1 for action1, 2 for action2

Returns

bool

return true on success, false otherwise

PostLogin(string?, string?, bool)

Post a login answer. After this call, the instance won't be valid anymore

public bool PostLogin(string? username, string? password, bool store)

Parameters

username string

valid non-empty string

password string

valid string

store bool

if true stores the credentials

Returns

bool