AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents information about the remote access session.

Inheritance Hierarchy

System.Object
  Amazon.DeviceFarm.Model.RemoteAccessSession

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z

Syntax

C#
public class RemoteAccessSession

The RemoteAccessSession type exposes the following members

Constructors

NameDescription
Public Method RemoteAccessSession()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the remote access session.

Public Property BillingMethod Amazon.DeviceFarm.BillingMethod

Gets and sets the property BillingMethod.

The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology."

Public Property ClientId System.String

Gets and sets the property ClientId.

Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.

Public Property Created System.DateTime

Gets and sets the property Created.

The date and time the remote access session was created.

Public Property Device Amazon.DeviceFarm.Model.Device

Gets and sets the property Device.

The device (phone or tablet) used in the remote access session.

Public Property DeviceMinutes Amazon.DeviceFarm.Model.DeviceMinutes

Gets and sets the property DeviceMinutes.

The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).

Public Property DeviceUdid System.String

Gets and sets the property DeviceUdid.

Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.

Public Property Endpoint System.String

Gets and sets the property Endpoint.

The endpoint for the remote access sesssion.

Public Property HostAddress System.String

Gets and sets the property HostAddress.

IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.

Public Property InstanceArn System.String

Gets and sets the property InstanceArn.

The Amazon Resource Name (ARN) of the instance.

Public Property InteractionMode Amazon.DeviceFarm.InteractionMode

Gets and sets the property InteractionMode.

The interaction mode of the remote access session. Valid values are:

  • INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.

  • NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.

  • VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.

Public Property Message System.String

Gets and sets the property Message.

A message about the remote access session.

Public Property Name System.String

Gets and sets the property Name.

The name of the remote access session.

Public Property RemoteDebugEnabled System.Boolean

Gets and sets the property RemoteDebugEnabled.

This flag is set to true if remote debugging is enabled for the remote access session.

Public Property RemoteRecordAppArn System.String

Gets and sets the property RemoteRecordAppArn.

The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.

Public Property RemoteRecordEnabled System.Boolean

Gets and sets the property RemoteRecordEnabled.

This flag is set to true if remote recording is enabled for the remote access session.

Public Property Result Amazon.DeviceFarm.ExecutionResult

Gets and sets the property Result.

The result of the remote access session. Can be any of the following:

  • PENDING: A pending condition.

  • PASSED: A passing condition.

  • WARNED: A warning condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • ERRORED: An error condition.

  • STOPPED: A stopped condition.

Public Property SkipAppResign System.Boolean

Gets and sets the property SkipAppResign.

When set to true, for private devices, Device Farm will not sign your app again. For public devices, Device Farm always signs your apps again and this parameter has no effect.

For more information about how Device Farm re-signs your app(s), see Do you modify my app? in the AWS Device Farm FAQs.

Public Property Started System.DateTime

Gets and sets the property Started.

The date and time the remote access session was started.

Public Property Status Amazon.DeviceFarm.ExecutionStatus

Gets and sets the property Status.

The status of the remote access session. Can be any of the following:

  • PENDING: A pending status.

  • PENDING_CONCURRENCY: A pending concurrency status.

  • PENDING_DEVICE: A pending device status.

  • PROCESSING: A processing status.

  • SCHEDULING: A scheduling status.

  • PREPARING: A preparing status.

  • RUNNING: A running status.

  • COMPLETED: A completed status.

  • STOPPING: A stopping status.

Public Property Stopped System.DateTime

Gets and sets the property Stopped.

The date and time the remote access session was stopped.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms