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


{ Types from AVPlayerItemProtectedContent }
{$ifdef TYPES}

{$endif}

{$if (defined(TARGET_OS_MAC) and not (defined(TARGET_OS_EMBEDDED) or defined(TARGET_OS_IPHONE)))}
{$ifdef TYPES}
type
  AVContentAuthorizationStatus = NSInteger;
  AVContentAuthorizationStatusPtr = ^AVContentAuthorizationStatus;

const
  AVContentAuthorizationUnknown = 0;
  AVContentAuthorizationCompleted = 1;
  AVContentAuthorizationCancelled = 2;
  AVContentAuthorizationTimedOut = 3;
  AVContentAuthorizationBusy = 4;
  AVContentAuthorizationNotAvailable = 5;
  AVContentAuthorizationNotPossible = 6;
{$endif}

{$endif}
{$ifdef CLASSES}

type
  AVPlayerItemProtectedContent = objccategory external (AVPlayerItem)
    function isAuthorizationRequiredForPlayback: ObjCBOOL; message 'isAuthorizationRequiredForPlayback';
    function isApplicationAuthorizedForPlayback: ObjCBOOL; message 'isApplicationAuthorizedForPlayback';
    function isContentAuthorizedForPlayback: ObjCBOOL; message 'isContentAuthorizedForPlayback';
    {$if (defined(TARGET_OS_MAC) and not (defined(TARGET_OS_EMBEDDED) or defined(TARGET_OS_IPHONE)))}
    procedure requestContentAuthorizationAsynchronouslyWithTimeoutInterval_completionHandler (timeoutInterval: NSTimeInterval; handler: OpaqueCBlock); message 'requestContentAuthorizationAsynchronouslyWithTimeoutInterval:completionHandler:'; { available in 10_7, NA }
    procedure cancelContentAuthorizationRequest; message 'cancelContentAuthorizationRequest'; { available in 10_7, NA }
    function contentAuthorizationRequestStatus: AVContentAuthorizationStatus; message 'contentAuthorizationRequestStatus';
    {$endif}
  end;
{$endif}