DeviceSms
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (4.1.0.0)
Provides methods for composing SMS messages on the client device.
- C#
- VB.NET
public class DeviceSms : DeviceInfoBase
Public Class DeviceSms
Inherits DeviceInfoBase
Access this class through the Device singleton.
Properties
IsComposeSupported
Boolean: Gets a value indicating whether the client device supports composing SMS messages.
Methods
Compose(sms)
Composes and sends a new SMS message on the client device.
| Parameter | Type | Description |
|---|---|---|
| sms | SmsMessage | The SMS message to be composed and sent. |
This method allows you to compose and send an SMS message on the client device. Ensure that the necessary permissions and configuration are in place for sending SMS messages.
OnWebUpdate(info)
Updates the SMS capability information.
| Parameter | Type | Description |
|---|---|---|
| info | Object | Dynamic object containing SMS support information. |