AVAsynchronousKeyValueLoading.inc 909 B

12345678910111213141516171819202122232425262728293031
  1. { Parsed from AVFoundation.framework AVAsynchronousKeyValueLoading.h }
  2. {$ifdef TYPES}
  3. type
  4. AVAsynchronousKeyValueLoadingProtocolPtr = ^AVAsynchronousKeyValueLoadingProtocol;
  5. {$endif}
  6. {$ifdef TYPES}
  7. type
  8. AVKeyValueStatus = NSInteger;
  9. AVKeyValueStatusPtr = ^AVKeyValueStatus;
  10. const
  11. AVKeyValueStatusUnknown = 0;
  12. AVKeyValueStatusLoading = 1;
  13. AVKeyValueStatusLoaded = 2;
  14. AVKeyValueStatusFailed = 3;
  15. AVKeyValueStatusCancelled = 4;
  16. {$endif}
  17. {$ifdef PROTOCOLS}
  18. type
  19. AVAsynchronousKeyValueLoadingProtocol = objcprotocol external name 'AVAsynchronousKeyValueLoading'
  20. required
  21. function statusOfValueForKey_error (key: NSString; outError: NSErrorPtr): AVKeyValueStatus; message 'statusOfValueForKey:error:';
  22. procedure loadValuesAsynchronouslyForKeys_completionHandler (keys: NSArray; handler: OpaqueCBlock); message 'loadValuesAsynchronouslyForKeys:completionHandler:';
  23. end;
  24. {$endif}