Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / cocoaint / src / avfoundation / AVAssetReader.inc
Size: Mime:
{ Parsed from AVFoundation.framework AVAssetReader.h }


{$ifdef TYPES}
type
  AVAssetReaderPtr = ^AVAssetReader;
{$endif}

{$ifdef TYPES}
type
  AVAssetReaderStatus = NSInteger;
  AVAssetReaderStatusPtr = ^AVAssetReaderStatus;

const
  AVAssetReaderStatusUnknown = 0;
  AVAssetReaderStatusReading = 1;
  AVAssetReaderStatusCompleted = 2;
  AVAssetReaderStatusFailed = 3;
  AVAssetReaderStatusCancelled = 4;
{$endif}

{$ifdef CLASSES}

type
  AVAssetReader = objcclass external (NSObject)
  private
    _priv: AVAssetReaderInternal;
  public
    class function assetReaderWithAsset_error (asset: AVAsset; outError: NSErrorPtr): instancetype; message 'assetReaderWithAsset:error:';
    function initWithAsset_error (asset: AVAsset; outError: NSErrorPtr): instancetype; message 'initWithAsset:error:';
    function asset: AVAsset; message 'asset';
    function status: AVAssetReaderStatus; message 'status';
    function error: NSError; message 'error';
    procedure setTimeRange(newValue: CMTimeRange); message 'setTimeRange:';
    function timeRange: CMTimeRange; message 'timeRange';
    function outputs: NSArray; message 'outputs';
    function canAddOutput (output: AVAssetReaderOutput): ObjCBOOL; message 'canAddOutput:';
    procedure addOutput (output: AVAssetReaderOutput); message 'addOutput:';
    function startReading: ObjCBOOL; message 'startReading';
    procedure cancelReading; message 'cancelReading';
  end;
{$endif}