PictureCallback.withoutCreate constructor

  1. @ReferenceConstructor(ignore: true)
PictureCallback.withoutCreate(
  1. DataCallback onPictureTaken
)

Construct a PictureCallback 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)
PictureCallback.withoutCreate(this.onPictureTaken) {
  ChannelRegistrar.instance.implementations.channelDataCallback.$$create(
    onPictureTaken,
    $owner: false,
  );
}