Companion
object Companion
Functions
Link copied to clipboard
fun makeNotification(context: Context, position: OverlayPosition = DefaultNotificationPosition, duration: Long? = OverlayManager.OVERLAY_DURATION_SLOW_MILLIS, hasClose: Boolean = true, isFocusable: Boolean = false, @StyleRes notificationStyleOverlay: Int = 0, animationSpec: OverlayAnimationSpec? = position.getAnimationSpec(), factory: (Context, OverlayEntry) -> View): Notification
Создаёт настраиваемый экземпляр Notification с заданными параметрами.