Jump to top

VisionBarcodeCalendarEvent

interface

A calendar event extracted from QRCode.

import vision, { VisionBarcodeValueType } from '@react-native-firebase/ml-vision';

const [barcode, ...otherBarcodes] = await vision().barcodeDetectorProcessImage(filePath);

if (barcode && barcode.valueType === VisionBarcodeValueType.CALENDAR_EVENT) {
  console.log(barcode.calendarEvent);
}

Properties

description

</>

The description of the calendar event.

description: string | null;

end

</>

The end date time of the calendar event.

end: string | null;

location

</>

The location of the calendar event.

location: string | null;

organizer

</>

The organizer of the calendar event.

organizer: string | null;

start

</>

The start date time of the calendar event.

start: string | null;

status

</>

The status of the calendar event.

status: string | null;

summary

</>

The summary of the calendar event.

summary: string | null;