Created
October 13, 2018 02:06
-
-
Save markchristopherng/0de4dde2bc530921c89eba859fbd1c06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
notificationBuilder = new NotificationCompat.Builder(context, channelId) | |
.setSmallIcon(icon) | |
.setContentTitle(title) | |
.setContentText(message) | |
.setStyle(new NotificationCompat.BigTextStyle().bigText(message)) | |
.setAutoCancel(autoCancel) | |
.setSound(defaultSoundUri) | |
.setContentIntent(contentAction.actionIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment