public static class DirectAccessServiceReference documentation and code samples for the Device Streaming v1 API class DirectAccessService.
A service for allocating Android devices and interacting with the live-allocated devices.
Each Session will wait for available capacity, at a higher priority over Test Execution. When allocated, the session will be exposed through a stream for integration.
DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer.android.com/studio/preview/android-device-streaming
Namespace
Google.Cloud.DeviceStreaming.V1Assembly
Google.Cloud.DeviceStreaming.V1.dll
Methods
BindService(DirectAccessServiceBase)
public static ServerServiceDefinition BindService(DirectAccessService.DirectAccessServiceBase serviceImpl)Creates service definition that can be registered with a server
| Parameter | |
|---|---|
| Name | Description |
serviceImpl |
DirectAccessServiceDirectAccessServiceBaseAn object implementing the server-side handling logic. |
| Returns | |
|---|---|
| Type | Description |
ServerServiceDefinition |
|
BindService(ServiceBinderBase, DirectAccessServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, DirectAccessService.DirectAccessServiceBase serviceImpl)Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
| Parameters | |
|---|---|
| Name | Description |
serviceBinder |
ServiceBinderBaseService methods will be bound by calling |
serviceImpl |
DirectAccessServiceDirectAccessServiceBaseAn object implementing the server-side handling logic. |