---
description: Wisej.Hybrid.DeviceSms
---

# DeviceSms

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides methods for composing SMS messages on the client device.

{% tabs %}
{% tab title="C#" %}
```csharp
public class DeviceSms
```
{% endtab %}

{% tab title="VB.NET" %}
```visual-basic
Public Class DeviceSms
```
{% endtab %}
{% endtabs %}

Access this class through the [Device](../general/wisej.hybrid.device) singleton.

## Constructors

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DeviceSms()

Initializes a new instance of [DeviceSms](wisej.hybrid.devicesms).

## Properties

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsComposeSupported

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets a value indicating whether the client device supports composing SMS messages.

## Methods

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Compose(sms)

Composes and sends a new SMS message on the client device.

| Parameter | Type                                                       | Description                              |
| --------- | ---------------------------------------------------------- | ---------------------------------------- |
| **sms**   | [SmsMessage](wisej.hybrid.shared.communication.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.
