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.

Remote debugging is no longer supported.

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 session (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.

Remote debugging is no longer supported.

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.

Remote debugging is no longer supported.

Public Property InstanceArn System.String

Gets and sets the property InstanceArn.

The 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.

Remote debugging is no longer supported.

Public Property RemoteRecordAppArn System.String

Gets and sets the property RemoteRecordAppArn.

The 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.

  • PASSED.

  • WARNED.

  • FAILED.

  • SKIPPED.

  • ERRORED.

  • STOPPED.

Public Property SkipAppResign System.Boolean

Gets and sets the property SkipAppResign.

When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.

For more information about how Device Farm re-signs your apps, 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.

  • PENDING_CONCURRENCY.

  • PENDING_DEVICE.

  • PROCESSING.

  • SCHEDULING.

  • PREPARING.

  • RUNNING.

  • COMPLETED.

  • STOPPING.

Public Property Stopped System.DateTime

Gets and sets the property Stopped.

The date and time the remote access session was stopped.

Public Property VpcConfig Amazon.DeviceFarm.Model.VpcConfig

Gets and sets the property VpcConfig.

The VPC security groups and subnets that are attached to a project.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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