Package 

Class CaptureController

    • Constructor Summary

      Constructors 
      Constructor Description
      CaptureController(GraphicsLayer graphicsLayer)
    • Method Summary

      Modifier and Type Method Description
      final Deferred<ImageBitmap> captureAsync() Creates and requests for a Bitmap capture with specified config and returns an ImageBitmap asynchronously.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CaptureController

        CaptureController(GraphicsLayer graphicsLayer)
    • Method Detail

      • captureAsync

         final Deferred<ImageBitmap> captureAsync()

        Creates and requests for a Bitmap capture with specified config and returns an ImageBitmap asynchronously.

        This method is safe to be called from the "main" thread directly.

        Make sure to call this method as a part of callback function and not as a part of the Composable function itself.