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 / storekit / SKDownload.inc
Size: Mime:
{ Parsed from StoreKit.framework SKDownload.h }


{$ifdef TYPES}
type
  SKDownloadPtr = ^SKDownload;
{$endif}

{$ifdef TYPES}
const
  SKDownloadStateWaiting = 0;
  SKDownloadStateActive = 1;
  SKDownloadStatePaused = 2;
  SKDownloadStateFinished = 3;
  SKDownloadStateFailed = 4;
  SKDownloadStateCancelled = 5;
type
  SKDownloadState = NSInteger;
{$endif}

{$ifdef CLASSES}

type
  SKDownload = objcclass external (NSObject)
  private
    _internal: id;
  public
    function contentIdentifier: NSString; message 'contentIdentifier';
    function state: SKDownloadState; message 'state';
    function contentURL: NSURL; message 'contentURL';
    function progress: single; message 'progress';
    function error: NSError; message 'error';
    function timeRemaining: NSTimeInterval; message 'timeRemaining';
    function contentLength: NSNumber; message 'contentLength';
    function contentVersion: NSString; message 'contentVersion';
    class function contentURLForProductID (productID: NSString): NSURL; message 'contentURLForProductID:';
    class procedure deleteContentForProductID (productID: NSString); message 'deleteContentForProductID:';
  end;
{$endif}