Since

5.1.4

This class provides access to calendar events.

Example

import CalendarEvent from '@smartface/native/device/calendarevent';

CalendarEvent.presentEventCreatingDialog({
title: "Event Title",
description: "Event Description",
location: "Ankara, Etimesgut, Türkiye",
startDate: "2023-05-26T07:10:42.616+03:00",
endDate: "2023-05-26T13:30:42.616+03:00",
allDay: false,
});

Hierarchy

  • Calendarevent

Implements

Methods

  • Use presentEventCreatingDialog to open a calendar for the add calendar event. Permissions#calendar Permisson is required for iOS to access native Calender app.

    Example

    import CalendarEvent from '@smartface/native/device/calendarevent';

    CalendarEvent.presentEventCreatingDialog({
    title: "Event Title",
    description: "Event Description",
    location: "Ankara, Etimesgut, Türkiye",
    startDate: "2023-05-26T07:10:42.616+03:00",
    endDate: "2023-05-26T13:30:42.616+03:00",
    allDay: false,
    });

    Method

    presentEventCreatingDialog

    Static

    Android

    Ios

    Since

    5.1.4

    Returns void

Constructors

Generated using TypeDoc