Skip to content

Instantly share code, notes, and snippets.

@KatieBarnett
Created March 19, 2023 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KatieBarnett/0412d4330e11530203cb31c9a5cd85d7 to your computer and use it in GitHub Desktop.
Save KatieBarnett/0412d4330e11530203cb31c9a5cd85d7 to your computer and use it in GitHub Desktop.
WearOS input allowed remote inputs
val remoteInputs: List<RemoteInput> = listOf(
RemoteInput.Builder(inputTextKey)
.setLabel(stringResource(id = R.string.edit_user_input))
.wearableExtender {
setEmojisAllowed(true)
setInputActionType(EditorInfo.IME_ACTION_DONE)
}.build()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment