Share via


Context.CompanionDeviceService Field

Definition

Use with #getSystemService(String) to retrieve a android.companion.CompanionDeviceManager for managing companion devices

[Android.Runtime.Register("COMPANION_DEVICE_SERVICE", ApiSince=26)]
public const string CompanionDeviceService;
[<Android.Runtime.Register("COMPANION_DEVICE_SERVICE", ApiSince=26)>]
val mutable CompanionDeviceService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.companion.CompanionDeviceManager for managing companion devices

Java documentation for android.content.Context.COMPANION_DEVICE_SERVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to