Extra API
Please read the Material Usage Rules on this site.
Description
This section contains a list of interfaces that are not included in the main DroidInstance API container and that also have their own classes for creating objects.
Examples.
new DroidManager().ReconnectOffline();
new LSPosedHelper(instance.DroidInstance).Open();
List of interfaces.
IAndroidElementAPI AndroidElementAPI;
IBlueStacks5API BlueStacks5;
IBlueStacks5ManagerAPI BlueStacks5Manager;
IBlueStacks5RootAPI BlueStacks5Root;
IBlueStacks5SettingsAPI BlueStacks5Settings;
IDeviceFilter DeviceFilter;
IDeviceOptions DeviceOptions;
IDroidManagerAPI DroidManager;
IDroidProxySettings DroidProxySettings;
IFridaDeviceAPI FridaDevice;
IFridaScriptAPI FridaScriptAPI;
IFridaSessionAPI FridaSessionAPI;
IDeviceSummaryInfo IDeviceSummaryInfo;
ILSPosedAPI LSPosedHelper;
IQRCodeManager QRCodeManager;
ISqlite3API Sqlite3Helper;
Interface properties and methods.
IAndroidElementAPI
IAndroidElementAPI AndroidElementAPI
string Id { get; }
bool IsDisplayed { get; }
Rectangle Rectangle { get; }
string Text { get; }
void Clear();
void Click();
string GetAttribute(string name);
bool GetBooleanAttribute(string name);
string GetScreenshot();
void SendKeys(string text);
void SendText(string text);
IBlueStacks5API
string AddressPort { get; }
bool IsBootCompleted { get; }
bool IsRunning { get; }
void Connect();
void Disconnect();
void Start();
void Stop();
bool WaitForBoot(int timeout);
bool WaitForConnect(int timeout);
bool WaitForStop(int timeout);
IBlueStacks5ManagerAPI
IBlueStacks5ManagerAPI BlueStacks5Manager
string Create(string imageName, int cpus, int ram, string graphicEngine, string graphicRenderer, string deviceProfile, string abiList);
void DeleteByName(string name);
bool Exists(string name);
string[] GetListNames();
string[] GetListTitles();
string NameToTitleConverter(string name);
void SetupRoot(string title, string magiskApk, string zygiskModule, int timeout);
void SetupRootOffline(string title, string magiskApk, string zygiskModule, int timeout);
void StartManager();
void StopManager();
string TitleToNameConverter(string title);
void Unroot(string title, int timeout);
IBlueStacks5RootAPI
IBlueStacks5RootAPI BlueStacks5Root
bool IsRooted { get; }
void EnableZygisk();
void EnableZygisk(string modulePath);
void FlashMagisk();
void InstallMagisk(string path);
void InstallMagiskOffline(string magiskApk);
void InstallModule(string path);
bool InstallModuleOffline(string modulePath);
void Lock();
void Patch();
void Unlock();
void Unlock(bool patchImage);
bool WaitForRoot(int timeout);
IBlueStacks5SettingsAPI
IBlueStacks5SettingsAPI BlueStacks5Settings
void SetGeo(double longitude, double latitude);
void SetIMEI(string value);
IDeviceFilter
string Brand { get; set; }
string Country { get; set; }
string GpuVendor { get; set; }
string Manufacturer { get; set; }
string Model { get; set; }
string Version { get; set; }
IDeviceOptions
bool? AddCanvasNoise { get; set; }
bool? AddGpu { get; set; }
bool? AddWebView { get; set; }
bool? AddWiFiEmulation { get; set; }
IDeviceSummaryInfo
IDeviceSummaryInfo IDeviceSummaryInfo
int Index { get; }
bool IsBusy { get; }
bool IsRunning { get; }
string Name { get; }
string Title { get; }
IDroidManagerAPI
string BaseDirectory { get; }
string ConvertIndexToName(int index);
string ConvertIndexToTitle(int index);
int ConvertNameToIndex(string name);
string ConvertTitleToName(string title);
IDeviceSummaryInfo[] GetListDevices();
int[] GetListIndices();
string[] GetListNames();
string[] GetListTitles();
void ReconnectOffline();
IDroidProxySettings
IDroidProxySettings DroidProxySettings.Proxifier
bool? BlockUDPLeak { get; set; }
bool? BlockWebRtcLeak { get; set; }
IDroidProxySettings DroidProxySettings.ProxifierViaPC
bool? BlockUDPLeak { get; set; }
bool? BlockWebRtcLeak { get; set; }
string DnsServers { get; set; }
string LocalIPv4Address { get; set; }
IDroidProxySettings DroidProxySettings.Redsocks
bool? BlockUDPLeak { get; set; }
bool? BlockWebRtcLeak { get; set; }
string DnsServers { get; set; }
bool? UseDnsTcp { get; set; }
bool? UseDnsUdp { get; set; }
string WebRtcLeakAddresses { get; set; }
string WebUdpLeakAddresses { get; set; }
IDroidProxySettings DroidProxySettings.RedsocksViaPC
bool? BlockUDPLeak { get; set; }
bool? BlockWebRtcLeak { get; set; }
string DnsServers { get; set; }
string LocalIPv4Address { get; set; }
bool? UseDnsTcp { get; set; }
bool? UseDnsUdp { get; set; }
string WebRtcLeakAddresses { get; set; }
string WebUdpLeakAddresses { get; set; }
IDroidProxySettings DroidProxySettings.Clash
string BlackList { get; set; }
string DnsServers { get; set; }
string LocalIPv4Address { get; set; }
string LocalIPv6Address { get; set; }
string NetworkMode { get; set; }
string Rules { get; set; }
string WhiteList { get; set; }
IDroidProxySettings DroidProxySettings.ClashViaPC
string BlackList { get; set; }
string DnsServers { get; set; }
string LocalIPv4Address { get; set; }
string LocalIPv6Address { get; set; }
string NetworkMode { get; set; }
string Rules { get; set; }
string WhiteList { get; set; }
IFridaDeviceAPI
string Id { get; }
string Name { get; }
IFridaSessionAPI Attach(uint pid);
void DetachAllSessions();
void DetachSessionByScriptName(string scriptName);
void InstallAndRunServer();
void KillServer();
void LoadScriptToApp(string packageName, string source);
void LoadScriptToFrontmost(string source);
void Resume(uint pid);
uint Spawn(string packageName);
IFridaScriptAPI
IFridaScriptAPI FridaScriptAPI
string Name { get; }
void Eternalize();
void Load();
event EventHandler<FridaScriptMessageEventArgs> Message;
void Post(string message);
void PostWithData(string message, byte[] data);
void Unload();
IFridaSessionAPI
IFridaSessionAPI FridaSessionAPI
uint Pid { get; }
IFridaScriptAPI CreateScript(string source);
IFridaScriptAPI CreateScript(string source, string name);
void Detach();
ILSPosedAPI
string ModuleName { get; set; }
void AddPackages(params string[] packageNames);
void BackupAllModules(string fileName);
void BackupModule(string fileName);
void Close();
void DisableModule();
void EnableModule();
string GetCLIStatus();
void Open();
void RemovePackages(params string[] packageNames);
void RestoreAllModules(string fileName);
void RestoreModule(string fileName);
void SetPackages(params string[] packageNames);
IQRCodeManager
void CloseQRCodeScanWindow();
void CloseViewfinderWindow();
void DrawImage(byte[] image, Rectangle area, Rectangle background);
void DrawImage(string fileName, Rectangle area, Rectangle background);
void PressQRCodeScanButton();
void SetViewfinderPosition(Rectangle rect);
ISqlite3API
string ExecuteQuery(string database, string query);
string ExecuteQuery(string database, string query, string options);
void Install();