VLCKit
|
#import <VLCDialogProvider.h>
Instance Methods | |
(nullable instancetype) | - initWithLibrary:customUI: |
(void) | - postUsername:andPassword:forDialogReference:store: |
(void) | - postAction:forDialogReference: |
(void) | - dismissDialogWithReference: |
Properties | |
id< VLCCustomDialogRendererProtocol > | customRenderer |
dialog provider base class
- (void) dismissDialogWithReference: | (NSValue *) | dialogReference |
if you requested custom UI mode for dialogs, use this method to cancel a progress dialog
dialogReference | reference to the dialog you want to cancel |
- (nullable instancetype) initWithLibrary: | (nullable VLCLibrary *) | library | |
customUI: | (BOOL) | customUI | |
initializer method to run the dialog provider instance on a specific library instance
library | the VLCLibrary instance |
customUI | enable custom UI mode |
- (void) postAction: | (int) | buttonNumber | |
forDialogReference: | (NSValue *) | dialogReference | |
if you requested custom UI mode for dialogs, use this method respond to a question dialog
buttonNumber | the button number the user pressed, use 3 if s/he cancelled, otherwise respectively 1 or 2 depending on the selected action |
dialogReference | reference to the dialog you respond to |
- (void) postUsername: | (NSString *) | username | |
andPassword: | (NSString *) | password | |
forDialogReference: | (NSValue *) | dialogReference | |
store: | (BOOL) | store | |
if you requested custom UI mode for dialogs, use this method respond to a login dialog
username | or NULL if cancelled |
password | or NULL if cancelled |
dialogReference | reference to the dialog you respond to |
store | shall VLC store the login securely? |
|
readwritenonatomicweak |
initializer method to run the dialog provider instance on a specific library instance