[android-components](../../index.md) / [mozilla.components.feature.qr.views](../index.md) / [CustomViewFinder](index.md) / [setMessage](./set-message.md)

# setMessage

`fun setMessage(scanMessageStringRes: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/qr/src/main/java/mozilla/components/feature/qr/views/CustomViewFinder.kt#L280)

Sets the message to be displayed below ViewFinder.

