|
VLCKit
|
#import <VLCDialogProvider.h>
Instance Methods | |
| (instancetype _Nullable) | - initWithLibrary:customUI: |
| (void) | - postUsername:andPassword:forDialogReference:store: |
| (void) | - postAction:forDialogReference: |
| (void) | - dismissDialogWithReference: |
Properties | |
| id< VLCCustomDialogRendererProtocol > | customRenderer |
dialog provider base class
| - (void) dismissDialogWithReference: | (NSValue *_Nonnull) | 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 |
| - (instancetype _Nullable) initWithLibrary: | (VLCLibrary *_Nullable) | 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 *_Nonnull) | 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 *_Nonnull) | username | |
| andPassword: | (NSString *_Nonnull) | password | |
| forDialogReference: | (NSValue *_Nonnull) | 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
1.8.11