java.lang.Object
uk.co.caprica.vlcj.factory.DialogsApi
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
Disable native dialog callbacks.void
Disable native dialog callbacks, with user data.boolean
Dismiss a native dialog.void
Enable native dialog callbacks.void
Enable native dialog callbacks, with user data.newDialogs
(DialogType... dialogTypes) Create a new dialogs callback component.boolean
postAction
(DialogId id, int action) Post (select) an action to a native question dialog.boolean
Post credentials to a native login dialog.
-
Method Details
-
newDialogs
Create a new dialogs callback component.- Parameters:
dialogTypes
- types of dialogs to enable, passing no types ornull
will enable all dialogs- Returns:
- dialogs callback component
-
enable
Enable native dialog callbacks.- Parameters:
dialogs
- dialogs callback component
-
disable
public void disable()Disable native dialog callbacks. -
enable
-
disable
Disable native dialog callbacks, with user data.- Parameters:
userData
- user data associated with the dialog
-
postLogin
Post credentials to a native login dialog.- Parameters:
id
- identifier of the dialog to post tousername
- username credentialpassword
- password credentialstoreCredentials
-true
if the user wants to store the credential;false
otherwise- Returns:
true
if successful;false
if error
-
postAction
Post (select) an action to a native question dialog.- Parameters:
id
- identifier of the dialog to post toaction
- action to post- Returns:
true
if successful;false
if error
-
dismiss
Dismiss a native dialog.- Parameters:
id
- identifier of the dialog to dismiss- Returns:
true
if successful;false
if error
-