Click or drag to resize
SayDateTimeCommand Class
Say a given time, returning early if any of the given DTMF digits are pressed.
Returns 0 if playback completes without a digit being pressed, or the ASCII numerical value of the digit if one was pressed or -1 on error/hangup.
Available since Asterisk 1.2.
Inheritance Hierarchy

Namespace: AsterNET.FastAGI.Command
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SayDateTimeCommand : AGICommand

The SayDateTimeCommand type exposes the following members.

Constructors
  NameDescription
Public methodSayDateTimeCommand(Int64)
Creates a new SayDateTimeCommand that says the given time. the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)
Public methodSayDateTimeCommand(Int64, String)
Creates a new SayDateTimeCommand that says the given time and allows interruption by one of the given escape digits.
Public methodSayDateTimeCommand(Int64, String, String)
Creates a new SayDateTimeCommand that says the given time in the given format and allows interruption by one of the given escape digits.
Public methodSayDateTimeCommand(Int64, String, String, String)
Creates a new SayDateTimeCommand that says the given time in the given format and timezone and allows interruption by one of the given escape digits.
Top
Methods
  NameDescription
Public methodBuildCommand (Overrides AGICommandBuildCommand.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodEscapeAndQuote (Inherited from AGICommand.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from AGICommand.)
Top
Properties
  NameDescription
Public propertyFormat
Get/Set the format the time should be said in.
Public propertygetEscapeDigits
Get/Set the digits that allow the user to interrupt this command.
Public propertyTime
Get/Set the time to say in seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC).
Public propertyTimezone
Get/Set the timezone to use when saying the time.
Top
See Also