PreviewCallback.withoutCreate constructor

  1. @ReferenceConstructor(ignore: true)
PreviewCallback.withoutCreate(
  1. DataCallback onPreviewFrame
)

Construct a PreviewCallback without creating the paired Java object.

This should only be used when creating a custom type channel implementation of this class.

Implementation

@ReferenceConstructor(ignore: true)
PreviewCallback.withoutCreate(this.onPreviewFrame) {
  ChannelRegistrar.instance.implementations.channelDataCallback.$$create(
    onPreviewFrame,
    $owner: false,
  );
}