Created
March 24, 2015 15:51
-
-
Save tajchert/522fde5ce20797ef6b6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY).build(); | |
NotificationCompat.Action action = | |
new NotificationCompat.Action.Builder(...) | |
.addRemoteInput(remoteInput) | |
.build(); | |
NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender().addAction(action); | |
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(MainActivity.this).extend(wearableExtender); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment