1Data::ICal::Entry::AlarUms:e:rURCIo(n3t)ributed Perl DocDuamtean:t:aItCiaoln::Entry::Alarm::URI(3)
2
3
4

NAME

6       Data::ICal::Entry::Alarm::URI - Represents notification via a custom
7       URI
8

SYNOPSIS

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

DESCRIPTION

20       A Data::ICal::Entry::Alarm::URI object represents an alarm that
21       notifies via arbitrary URI which is attached to a todo item or event in
22       an iCalendar file.  (Note that the iCalendar RFC refers to entries as
23       "components".)  It is a subclass of Data::ICal::Entry::Alarm and
24       accepts all of its methods.
25
26       This element is not included in the official iCal RFC, but is rather an
27       unaccepted draft standard; see
28       <https://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-6>
29       Its interoperability and support is thus limited. This is alarm type is
30       primarily used by Apple.
31

METHODS

33   new
34       Creates a new Data::ICal::Entry::Alarm::Alarm object; sets its "ACTION"
35       property to "NONE".
36
37   mandatory_unique_properties
38       In addition to "action" and "trigger" (see
39       "mandatory_unique_properties" in Data::ICal::Entry::Alarm), uri alarms
40       must also specify a value for "uri".
41

AUTHOR

43       Best Practical Solutions, LLC <modules@bestpractical.com>
44
46       Copyright (c) 2005 - 2020, Best Practical Solutions, LLC.  All rights
47       reserved.
48
49       This module is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself. See perlartistic.
51
52
53
54perl v5.38.0                      2023-07-20  Data::ICal::Entry::Alarm::URI(3)
Impressum