Notifications · PostNotification · Shade
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Read the notification shade, post a notification to it, or open it. These call app_notifications.
Notifications
public IList<IDictionary<string, object?>> Notifications()
What is in the notification shade — how a test asserts an app posted what it should. Each map has package, title and text.
PostNotification
public void PostNotification(string title, string text)
public void PostNotification(string text)
Puts a notification in the shade as an interruption, confirmed by reading the shade back.
Puts a notification in the shade under the default title, "Mobium".
Shade
public void Shade(bool open)
Opens or closes the notification panel. A notification cannot be
tapped until the shade is open: until then it is not on screen and
Map cannot see it.
Examples
Post a notification
device.PostNotification("Your code is 123456");
The same call from the command line, mobium notifications --post "Your code is 123456", printed on an Android 15 emulator:
android Serial console enabled — Performance is impacted. To disable, check bootloader.
com.android.shell Mobium — Your code is 123456
Pull the shade down
device.Shade(true);
The same call from the command line, mobium notifications --shade open, printed on an Android 15 emulator:
com.android.shell Mobium — Your code is 123456
android Serial console enabled — Performance is impacted. To disable, check bootloader.

mobium notifications --shade open on an Android 15 emulator