AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones de citas (Lotus Notes/Android/iOS)
  • Android calendar
  • Required permissions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes:
  • WINDEVWEBDEV - Server code the current appointment from the calendar of a Lotus Notes or Outlook messaging.
    Reminder: This function cannot be used to delete the current appointment from the calendar of an Outlook Express messaging.
  • AndroidAndroid Widget an appointment from the calendar found on an Android device.
  • iPhone/iPad an appointment from the calendar found on an iOS device.
Example
WINDEVWEBDEV - Server code
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Read the last appointment
AppointmentLast(SessionID)
// Delete the appointment
AppointmentDelete(SessionID)
AndroidAndroid Widget iPhone/iPad
// Deletes the appointment corresponding to the identifier <25>
arrAPT is array of Appointment
arrAPT = AppointmentList(MyCalendar, aptIdentifier, 25)
IF arrAPT.Count > 0 THEN
AppointmentDelete(arrAPT[1])
END
Syntax

Deleting the current appointment from the calendar of a Lotus Notes or Outlook messaging Hide the details

<Result> = AppointmentDelete(<Session identifier> [, <Appointment identifier>])
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Appointment identifier>: Optional character string
Identifier of the appointment to be deleted. This identifier is found in the mAppointment.ID variable.
AndroidAndroid Widget iPhone/iPad

Deleting an appointment from the calendar found on a mobile device (Android/iOS) Hide the details

<Result> = AppointmentDelete(<Appointment>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment to be deleted from the calendar of the Android or iOS device.
Remarks
AndroidAndroid Widget

Android calendar

AppointmentDelete can be used in the emulator but not in the simulator.
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permissions:
  • READ_CALENDAR: This permission allows the application to read the calendar data of the user.
  • WRITE_CALENDAR: This permission allows the application to write the calendar data of the user.
Business / UI classification: Business Logic
Component: wd290com.dll
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local