浏览代码

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