Data::ICal::Entry::Alarm::URI(3pm)

Data::ICal::Entry::Alarm::URI3pm

Represents notification via a custom uri

Usage

    my $valarm = Data::ICal::Entry::Alarm::URI->new();
    $valarm->add_properties(
        uri => "sms:+15105550101?body=hello%20there",
        # Dat*e*::ICal is not a typo here
        trigger   => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
    );
    $vevent->add_entry($valarm);

Overview

A Data::ICal::Entry::Alarm::URI object represents an alarm that notifies via arbitrary URI which is attached to a todo item or event in an iCalendar file. (Note that the iCalendar RFC refers to entries as "components".) It is a subclass of Data::ICal::Entry::Alarm and accepts all of its methods.

This element is not included in the official iCal RFC, but is rather an unaccepted draft standard; see <https://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-6> Its interoperability and support is thus limited. This is alarm type is primarily used by Apple.

Methods

new

Creates a new Data::ICal::Entry::Alarm::Alarm object; sets its "ACTION" property to "NONE".

mandatory_unique_properties

In addition to "action" and "trigger" (see "mandatory_unique_properties" in Data::ICal::Entry::Alarm), uri alarms must also specify a value for "uri".

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

Author

Best Practical Solutions, LLC <[email protected]>

From libdata-ical-perl 0.24+dfsg-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.