NotificationController

Constructors

Link copied to clipboard
@Inject
constructor(userInterface: UserInterface, assetManager: AssetManager, audioSystem: AudioSystem, messagesList: MessagesList, contentGenerator: ContentGenerator)

Functions

Link copied to clipboard
open fun addMessage(message: String)

open fun addMessage(message: UserMessage)
Отображение сообщения со звуком
open fun addMessage(icon: String, title: String, content: String, length: MessagesList.Length)
Добавление сообщения на экран со звуком подсказки, работает как addSilentMessage}
open fun addMessage(sound: String, icon: String, title: String, content: String, length: MessagesList.Length)
Добавление сообщения на экран со звуком
Link copied to clipboard
open fun addSilentMessage(icon: String, title: String, content: String, length: MessagesList.Length)
Добавление сообщения на экран без звука
Link copied to clipboard
Link copied to clipboard
open fun notify(type: NotificationType, title: String, content: String)
Link copied to clipboard
open fun setTitle(titleText: String)
Устанавливает заголовок по центру экрана на три секунды