Gjsify LogoGjsify Logo

A structure holding whether and how an alarm repeats. Use the functions below to work with it.

record

Hierarchy

  • ComponentAlarmRepeat

Index

Constructors

  • Creates a new #ECalComponentAlarmRepeat describing alarm repetitions. The returned structure should be freed with e_cal_component_alarm_repeat_free(), when no longer needed.

    Parameters

    • repetitions: number

      number of extra repetitions, zero for none

    • interval: Duration

      interval between repetitions

    Returns ComponentAlarmRepeat

Properties

name: string

Methods

  • Returns the interval between repetitions of the repeat, as an #ICalDuration object. This object is owned by repeat and should not be freed. It's valid until the repeat is not freed or its interval changed with either e_cal_component_alarm_repeat_set_interval() or e_cal_component_alarm_repeat_set_interval_seconds().

    Returns Duration

  • get_interval_seconds(): number
  • get_repetitions(): number
  • set_interval_seconds(interval_seconds: number): void
  • Set the interval_seconds between repetitions of the repeat.

    Parameters

    • interval_seconds: number

      interval between repetitions, in seconds

    Returns void

  • set_repetitions(repetitions: number): void
  • Set the repetitions count of the repeat.

    Parameters

    • repetitions: number

      number of repetitions, zero for none

    Returns void

  • Creates a new #ECalComponentAlarmRepeat describing alarm repetitions. The returned structure should be freed with e_cal_component_alarm_repeat_free(), when no longer needed.

    Parameters

    • repetitions: number

      number of extra repetitions, zero for none

    • interval: Duration

      interval between repetitions

    Returns ComponentAlarmRepeat

  • Creates a new #ECalComponentAlarmRepeat describing alarm repetitions. The returned structure should be freed with e_cal_component_alarm_repeat_free(), when no longer needed.

    Parameters

    • repetitions: number

      number of extra repetitions, zero for none

    • interval_seconds: number

      interval between repetitions, in seconds

    Returns ComponentAlarmRepeat

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method