Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: t32alm.h
Link against: n/a

Class TAlmSoundPlay

TAlmSoundPlay

Support

Supported from 5.0

Description

An alarm interval.

An alarm interval consists of a duration and an offset.

An array of alarm intervals is stored and managed by the alarm server. It can be set and retrieved using RAlarmServer::SetAlarmPlayIntervals() and RAlarmServer::GetAlarmPlayIntervalsL().

Defined in TAlmSoundPlay:
TAlmSoundPlay(), iDuration, iOffset


Construction


TAlmSoundPlay()

TAlmSoundPlay();

Description

Trivial default C++ constructor.

Initialises the offset to zero and the duration to 30 seconds.


TAlmSoundPlay()

TAlmSoundPlay(TTimeIntervalMinutes aOffset, TTimeIntervalSeconds aDuration);

Description

C++ constructor with an offset and a duration.

Parameters

TTimeIntervalMinutes aOffset

The offset in minutes.

TTimeIntervalSeconds aDuration

The duration in seconds.

[Top]


Data members


iOffset

TTimeIntervalMinutes iOffset;

Description

The offset.

This is the number of minutes between the alarm being activated and the alarm sound beginning to play.


iDuration

TTimeIntervalSeconds iDuration;

Description

The duration.

This is is the number of seconds the alarm sound plays.