For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Attachment Types

API reference for configuring attachment types in Luciq. Specify which attachment types are available in bug reports, such as screenshots and logs.

You can set the types of attachments your users can add to reports using this API.

The available attachment types are:

  • Initial Screenshot

  • Extra Screenshot

  • Gallery Image

  • Screen Recording

Method:

BugReporting.enabledAttachmentTypes = [.screenShot, .extraScreenShot]
LCQBugReporting.enabledAttachmentTypes = LCQAttachmentTypeScreenShot | LCQAttachmentTypeExtraScreenshot;
// Arguments: initialScreenshot, extraScreenshot, galleryImage & ScreenRecording
BugReporting.setAttachmentTypesEnabled(true, true, true, true);
// Arguments:initialScreenshot, extraScreenshot, galleryImage & ScreenRecording
BugReporting.setAttachmentTypesEnabled(true, true, true, true);
BugReporting.setEnabledAttachmentTypes(screenshot, extraScreenshot, galleryImage, screenRecording);

//All properties are boolean values
//Boolean Arguments
BugReporting.setEnabledAttachmentTypes(screenshot, extraScreenshot, galleryImage, screenRecording);

Attachment Types Enums:

//Inital Screenshot
.screenShot
//Extra Screenshot
.extraScreenShot
//Gallery Image
.galleryImage
//Screen Recording
.screenRecording
//Inital Screenshot
LCQAttachmentTypeScreenshot;
//Extra Screenshot
LCQAttachmentTypeExtraScreenshot;
//Gallery Image
LCQAttachmentTypeGalleryImage;
//Screen Recording
LCQAttachmentTypeScreenRecording;

Screen Recording Encoder: For the Screen Recording, you can define a custom configuration using the API below:

Luciq.setVideoEncoderConfig(VideoEncoderConfig config);
Luciq.setVideoEncoderConfig(config: VideoEncoderConfig)

Last updated