type property represents the type of the message. It provides a convenient way to be sure that a message is an SMS.
var type = instanceOfMozSmsMessage.type;
A string which is always a value of
This is a non-standard implementation, but it is discussed at W3C as part of the System Application Working Group.
|Messaging API||Editor's Draft||Editor Draft (WIP).|
For obvious reasons, support is primarily expected on mobile browsers.
Supported in Firefox OS 1.0.1.