# MessagesTrait.Feature

# MessagesTrait.Feature


```
data class MessagesTrait.Feature
```

<br />

*** ** * ** ***

Messages cluster FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( receivedConfirmation: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, confirmationResponse: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, confirmationReply: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, protectedMessages: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the Feature data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#confirmationReply()` The device supports confirmation and reply messages. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#confirmationResponse()` The device is capable of presenting a list of responses to the user and recording the user's choice for the response. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#protectedMessages()` The device is capable of requiring the user to authenticate before viewing a message. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MessagesTrait.Feature#receivedConfirmation()` The device supports getting confirmation from a user that the message was received. |

## Public constructors

### Feature

```
Feature(
    receivedConfirmation: Boolean = false,
    confirmationResponse: Boolean = false,
    confirmationReply: Boolean = false,
    protectedMessages: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### confirmationReply

```
val confirmationReply: Boolean
```

The device supports confirmation and reply messages.

### confirmationResponse

```
val confirmationResponse: Boolean
```

The device is capable of presenting a list of responses to the user and recording the user's choice for the response.

### protectedMessages

```
val protectedMessages: Boolean
```

The device is capable of requiring the user to authenticate before viewing a message.

### receivedConfirmation

```
val receivedConfirmation: Boolean
```

The device supports getting confirmation from a user that the message was received.