1Data::ICal::Entry::AlarUms:e:rAuCdoinot(r3i)buted Perl DDoactuam:e:nItCaatli:o:nEntry::Alarm::Audio(3)
2
3
4
6 Data::ICal::Entry::Alarm::Audio - Represents an audio alarm in an
7 iCalendar file
8
10 my $valarm = Data::ICal::Entry::Alarm::Audio->new();
11 $valarm->add_properties(
12 attach => [ "ftp://host.com/pub/sounds/bell-01.aud", { fmttype => "audio/basic" } ],
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
20 A Data::ICal::Entry::Alarm::Audio object represents an audio alarm
21 attached to a todo item or event in an iCalendar file. (Note that the
22 iCalendar RFC refers to entries as "components".) It is a subclass of
23 Data::ICal::Entry::Alarm and accepts all of its methods.
24
26 new
27 Creates a new Data::ICal::Entry::Alarm::Audio object; sets its "ACTION"
28 property to "AUDIO".
29
30 optional_unique_properties
31 In addition to "duration" and "repeat" (see
32 "optional_unique_properties" in Data::ICal::Entry::Alarm), audio alarms
33 may specify a value for "attach".
34
36 Best Practical Solutions, LLC <modules@bestpractical.com>
37
39 Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights
40 reserved.
41
42 This module is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself. See perlartistic.
44
45
46
47perl v5.36.0 2022-07-22Data::ICal::Entry::Alarm::Audio(3)