setPriority

fun setPriority(priority: Int)

Sets the priority of the notification required for API 25 and lower.

See setPriority.

Parameters

priority

The priority which can be one of PRIORITY_DEFAULT, PRIORITY_MAX, PRIORITY_HIGH, PRIORITY_LOW or PRIORITY_MIN. If not set PRIORITY_LOW is used by default.