Question: how to set notification priority in android programmatically?
Answer: The body text, set by setContentText() . The notification priority, set by setPriority() . The priority determines how intrusive the notification should be on Android 7.1 and lower. (For Android 8.0 and higher, you must instead set the channel importance—shown in the next section.)