Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class AndroidDevice.
A single Android device.
Generated from protobuf message google.cloud.devicestreaming.v1.AndroidDevice
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ android_model_id |
string
Required. The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. |
↳ android_version_id |
string
Required. The id of the Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options. |
↳ locale |
string
Optional. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. |
↳ orientation |
string
Optional. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options. |
getAndroidModelId
Required. The id of the Android device to be used.
Use the TestEnvironmentDiscoveryService to get supported options.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAndroidModelId
Required. The id of the Android device to be used.
Use the TestEnvironmentDiscoveryService to get supported options.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAndroidVersionId
Required. The id of the Android OS version to be used.
Use the TestEnvironmentDiscoveryService to get supported options.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAndroidVersionId
Required. The id of the Android OS version to be used.
Use the TestEnvironmentDiscoveryService to get supported options.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocale
Optional. The locale the test device used for testing.
Use the TestEnvironmentDiscoveryService to get supported options.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocale
Optional. The locale the test device used for testing.
Use the TestEnvironmentDiscoveryService to get supported options.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOrientation
Optional. How the device is oriented during the test.
Use the TestEnvironmentDiscoveryService to get supported options.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOrientation
Optional. How the device is oriented during the test.
Use the TestEnvironmentDiscoveryService to get supported options.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|