PackageSmsHttp
Classpublic class SmsHttpResult

Container for values returned by teh server as a response to a previously sent request. Used by SmsHttpEvent.



Public Properties
 PropertyDefined by
  contacts_ : Array
SmsHttpResult
  Contacts : Array
[read-only] Array of contacts for this result, if any.
SmsHttpResult
  CreditsLeft : int
[read-only] Amount of credits at the current time the response was sent.
SmsHttpResult
  CreditsLeftToday : int
[read-only] Amount of credits left limited by day.
SmsHttpResult
  ErrorCode : int
[read-only] Specific code describing the result.
SmsHttpResult
  ErrorDescription : String
[read-only] Readable representation of the errorcode.
SmsHttpResult
  messages_ : Array
SmsHttpResult
  Messages : Array
[read-only] Array of messages for this result, if any.
SmsHttpResult
  Tel : String
[read-only] Corresponding phonenumber for the request.
SmsHttpResult
Public Methods
 MethodDefined by
  
SmsHttpResult(errorcode:int, errordescription:String, tel:String, creditsleft:int, creditslefttoday:int)
Container for values returned by teh server as a response to a previously sent request.
SmsHttpResult
  
toString():String
SmsHttpResult
Property detail
contacts_property
public var contacts_:Array
Contactsproperty 
Contacts:Array  [read-only]

Array of contacts for this result, if any.

Implementation
    public function get Contacts():Array

See also

SmsHttpContect
CreditsLeftproperty 
CreditsLeft:int  [read-only]

Amount of credits at the current time the response was sent.

Implementation
    public function get CreditsLeft():int
CreditsLeftTodayproperty 
CreditsLeftToday:int  [read-only]

Amount of credits left limited by day.

Implementation
    public function get CreditsLeftToday():int
ErrorCodeproperty 
ErrorCode:int  [read-only]

Specific code describing the result.

Implementation
    public function get ErrorCode():int

See also

ErrorDescriptionproperty 
ErrorDescription:String  [read-only]

Readable representation of the errorcode.

Implementation
    public function get ErrorDescription():String
messages_property 
public var messages_:Array
Messagesproperty 
Messages:Array  [read-only]

Array of messages for this result, if any.

Implementation
    public function get Messages():Array

See also

Telproperty 
Tel:String  [read-only]

Corresponding phonenumber for the request.

Implementation
    public function get Tel():String
Constructor detail
SmsHttpResult()constructor
public function SmsHttpResult(errorcode:int, errordescription:String, tel:String, creditsleft:int, creditslefttoday:int)

Container for values returned by teh server as a response to a previously sent request.

Parameters
errorcode:int — Specific code describing the result.
 
errordescription:String — Readable representation of the errorcode.
 
tel:String — Corresponding phonenumber for the request.
 
creditsleft:int — Amount of credits at the current time the response was sent.
 
creditslefttoday:int — Amount of credits left limited by day.
Method detail
toString()method
public function toString():String

Returns
String