C# Класс Automobile.Mobile.Framework.Device.MobileDevice

The device being executed on
Наследование: IMobileDevice
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginAutomation ( ) : void

Begin the main automation loop, accepting connections and executing commands

TakeScreenshot ( ) : byte[]

Take a screenshot of the device

Защищенные методы

Метод Описание
MobileDevice ( ConnectionType connectionType, string connectionString ) : System
MobileDevice ( ConnectionType connectionType, string connectionString, IJsonProvider json ) : System

Приватные методы

Метод Описание
HandleConnection ( ) : void

Handles a connection, returns when the connection is closed

HandleMessage ( Command message ) : IResponse

Handles a message from a client

Описание методов

BeginAutomation() публичный Метод

Begin the main automation loop, accepting connections and executing commands
public BeginAutomation ( ) : void
Результат void

MobileDevice() защищенный Метод

protected MobileDevice ( ConnectionType connectionType, string connectionString ) : System
connectionType ConnectionType
connectionString string
Результат System

MobileDevice() защищенный Метод

protected MobileDevice ( ConnectionType connectionType, string connectionString, IJsonProvider json ) : System
connectionType ConnectionType
connectionString string
json IJsonProvider
Результат System

TakeScreenshot() публичный абстрактный Метод

Take a screenshot of the device
public abstract TakeScreenshot ( ) : byte[]
Результат byte[]