CompanionDeviceManager
Callback
ExtraAssociation
ExtraDevice
FlagCallMetadata
ResultCanceled
ResultDiscoveryTimeout
ResultInternalError
ResultOk
ResultUserRejected
Associations
JniPeerMembers
MyAssociations
ThresholdClass
ThresholdType
Associate(AssociationRequest, Callback, Handler)
Associate(AssociationRequest, IExecutor, Callback)
AttachSystemDataTransport(Int32, Stream, Stream)
BuildAssociationCancellationIntent()
BuildPermissionTransferUserConsentIntent(Int32)
DetachSystemDataTransport(Int32)
DisableSystemDataSyncForTypes(Int32, SystemDataSyncFlags)
Disassociate(Int32)
Disassociate(String)
EnableSystemDataSyncForTypes(Int32, SystemDataSyncFlags)
HasNotificationAccess(ComponentName)
RequestNotificationAccess(ComponentName)
StartObservingDevicePresence(String)
StartSystemDataTransfer(Int32, IExecutor, IOutcomeReceiver)
StopObservingDevicePresence(String)
net9.0-android34.0
namespace Android.Companion
{
[Register("android/companion/CompanionDeviceManager", ApiSince = 26, DoNotGenerateAcw = true)]
[SupportedOSPlatform("android26.0")]
public sealed class CompanionDeviceManager : Object
{
[Register("enableSystemDataSyncForTypes", "(II)V", "", ApiSince = 34)]
[SupportedOSPlatform("android34.0")]
public void EnableSystemDataSyncForTypes(int associationId, [GeneratedEnum] SystemDataSyncFlags flags);
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API