Class MTLCaptureManager

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MTLCaptureManager
extends NSObject
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MTLCaptureManager

      protected MTLCaptureManager()
    • MTLCaptureManager

      protected MTLCaptureManager​(NSObject.Handle h, long handle)
    • MTLCaptureManager

      protected MTLCaptureManager​(NSObject.SkipInit skipInit)
  • Method Details

    • getDefaultCaptureScope

      public MTLCaptureScope getDefaultCaptureScope()
    • setDefaultCaptureScope

      public void setDefaultCaptureScope​(MTLCaptureScope v)
    • isCapturing

      public boolean isCapturing()
    • newCaptureScope

      public MTLCaptureScope newCaptureScope​(MTLDevice device)
    • newCaptureScope

      public MTLCaptureScope newCaptureScope​(MTLCommandQueue commandQueue)
    • supportsDestination

      public boolean supportsDestination​(MTLCaptureDestination destination)
      Since:
      Available in iOS 13.0 and later.
    • startCapture

      public boolean startCapture​(MTLCaptureDescriptor descriptor) throws NSErrorException
      Throws:
      NSErrorException
      Since:
      Available in iOS 13.0 and later.
    • startCapture

      @Deprecated public void startCapture​(MTLDevice device)
      Deprecated.
      Deprecated in iOS 13.0. Use startCaptureWithDescriptor:error: instead
      Since:
      Available in iOS 11.0 and later.
    • startCapture

      @Deprecated public void startCapture​(MTLCommandQueue commandQueue)
      Deprecated.
      Deprecated in iOS 13.0. Use startCaptureWithDescriptor:error: instead
      Since:
      Available in iOS 11.0 and later.
    • startCapture

      @Deprecated public void startCapture​(MTLCaptureScope captureScope)
      Deprecated.
      Deprecated in iOS 13.0. Use startCaptureWithDescriptor:error: instead
      Since:
      Available in iOS 11.0 and later.
    • stopCapture

      public void stopCapture()
    • sharedCaptureManager

      public static MTLCaptureManager sharedCaptureManager()