Android context
Configuration
const menu = new Menu(context);
menu.attach()
const config = new Config();
config.MENU_TITLE = "Moded with Frida";
const menu = new Menu(context, config);
menu.attach()
Add a on/off button to the menu.
The name of the feature.
The pointer to the value of the feature.
const isGodMode = Primitive.of(false);
menu.ButtonOnOff('Feature', isGodMode);
Add a CheckBox to the menu.
The name of the feature.
The pointer to the value of the feature.
const isGodMode = Primitive.of(false);
menu.CheckBox('God Mode', isGodMode);
Add a feature to the menu.
The name of the feature.
The pointer to the value of the feature.
const coins = Primitive.of(0);
menu.InputNumber('Coins', coins);
Add a feature to the menu.
The name of the feature.
The pointer to the value of the feature.
const playerName = Primitive.of('My Player');
menu.InputText('Player Name', playerName);
Add a RadioGroup to the menu.
The name of the feature.
The pointer to the value of the feature.
The options to display.
const value = Primitive.of(0);
const options = ['Option 1', 'Option 2', 'Option 3'];
menu.RadioButton('Options', value, options);
Add a slider to the menu.
The name of the feature.
The pointer to the value of the feature.
The minimum value slider can be set to.
The maximum value slider can be set to.
The step size of the slider.
Error if value is not between min and max.
Error if step is less than 1.
Error if step is not a divisor of (max - min).
Error if min is greater than max.
const speed = Primitive.of(50);
menu.SeekBar('Speed', speed, 0, 100);
menu.SeekBar('Speed', speed, 0, 100, 5);
Add a switch to the menu.
The name of the feature.
The pointer to the value of the feature.
const isGodmode = Primitive.of(false);
menu.Switch('Godmode', isGodmode);
Add a text view to the menu. note: this does not fully support html. Use menu.WebTextView
The text to display.
menu.TextView('Hello world!');
menu.TextView('Hello <b>world</b>!');
menu.TextView('Hello <font color="#ff0000">world</font>!');
Add a web text view with full html support to the menu.
The html to display.
menu.WebTextView('<b>Hello world!</b>');
menu.WebTextView('<font color="#ff0000">Hello world!</font>');
menu.WebTextView('<font size="20">Hello world!</font>');
Generated using TypeDoc
Classdesc
Floating menu