ソースを参照

VLCMedia: Add missing ParsingOption and copy documentation from libvlc

Signed-off-by: Felix Paul Kühne <felix@feepk.net>
Carola Nitz 6 年 前
コミット
dfca9cd501
1 ファイル変更5 行追加5 行削除
  1. 5 5
      Headers/Public/VLCMedia.h

+ 5 - 5
Headers/Public/VLCMedia.h

@@ -510,12 +510,12 @@ extern NSString *const VLCMediaTracksInformationTypeUnknown;
  */
 - (void)synchronousParse __attribute__((deprecated));
 
-
 enum {
-    VLCMediaParseLocal          = 0x00,
-    VLCMediaParseNetwork        = 0x01,
-    VLCMediaFetchLocal          = 0x02,
-    VLCMediaFetchNetwork        = 0x04,
+    VLCMediaParseLocal          = 0x00,     //Parse media if it's a local file
+    VLCMediaParseNetwork        = 0x01,     //Parse media even if it's a network file
+    VLCMediaFetchLocal          = 0x02,     //Fetch meta and covert art using local resources
+    VLCMediaFetchNetwork        = 0x04,     //Fetch meta and covert art using network resources
+    VLCMediaDoInteract          = 0x08,     //Interact with the user when preparsing this item (and not its sub items). Set this flag in order to receive a callback when the input is asking for credentials.
 };
 /**
  * enum of available options for use with parseWithOptions