CompanionDeviceManager クラス

定義

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
[Android.Runtime.Register("android/companion/CompanionDeviceManager", ApiSince=26, DoNotGenerateAcw=true)]
public sealed class CompanionDeviceManager : Java.Lang.Object
[<Android.Runtime.Register("android/companion/CompanionDeviceManager", ApiSince=26, DoNotGenerateAcw=true)>]
type CompanionDeviceManager = class
    inherit Object
継承
CompanionDeviceManager
属性

注釈

android.companion.CompanionDeviceManagerJava ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

フィールド

ExtraAssociation

オブジェクトの追加のフィールド名。アプリケーションの AssociationInfo が正常に android.content.Intent 処理され、関連付けが作成された後に Activity#onActivityResult(int, int, Intent) 、どのアプリケーション AssociationRequest が受信するかを指定します。

ExtraDevice
古い.

で受信した のアクティビティ結果 IntentSender で返されるデバイス Callback#onDeviceFound

        Type is:
        &lt;ul&gt;
            &lt;li&gt;for classic Bluetooth - <code data-dev-comment-type="c">android.bluetooth.BluetoothDevice</code>&lt;/li&gt;
            &lt;li&gt;for Bluetooth LE - <code data-dev-comment-type="c">android.bluetooth.le.ScanResult</code>&lt;/li&gt;
            &lt;li&gt;for WiFi - <code data-dev-comment-type="c">android.net.wifi.ScanResult</code>&lt;/li&gt;
        &lt;/ul&gt;

プロパティ

Associations
古い.

この API を呼び出すには、マニフェストで uses-feature PackageManager#FEATURE_COMPANION_DEVICE_SETUP 宣言が必要です

Class

この Objectのランタイム クラスを返します。

(継承元 Object)
Handle

基になる Android インスタンスへのハンドル。

(継承元 Object)
JniIdentityHashCode

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
JniPeerMembers

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
MyAssociations

この API を呼び出すには、マニフェストで uses-feature PackageManager#FEATURE_COMPANION_DEVICE_SETUP 宣言が必要です

PeerReference

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
ThresholdClass

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)
ThresholdType

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)

メソッド

Associate(AssociationRequest, CompanionDeviceManager+Callback, Handler)

ユーザーが選択したコンパニオン デバイスにこのアプリを関連付ける

Associate(AssociationRequest, IExecutor, CompanionDeviceManager+Callback)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
Clone()

このオブジェクトのコピーを作成して返します。

(継承元 Object)
Disassociate(Int32)

関連付けを削除します。

Disassociate(String)
古い.

このアプリと特定の mac アドレスを持つデバイスとの間の関連付けを削除します。

Dispose()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
Dispose(Boolean)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
Equals(Object)

他のオブジェクトがこのオブジェクトと "等しい" かどうかを示します。

(継承元 Object)
GetHashCode()

オブジェクトのハッシュ コード値を返します。

(継承元 Object)
HasNotificationAccess(ComponentName)
古い.

指定されたコンポーネントが を介して通知にアクセスできるかどうかを確認します。 NotificationListenerService

        Your app must have an association with a device before calling this API
JavaFinalize()

オブジェクトへの参照がなくなったとガベージ コレクションが判断したときに、オブジェクトのガベージ コレクターによって呼び出されます。

(継承元 Object)
Notify()

このオブジェクトのモニターで待機している 1 つのスレッドを起動します。

(継承元 Object)
NotifyAll()

このオブジェクトのモニターで待機しているすべてのスレッドを起動します。

(継承元 Object)
RequestNotificationAccess(ComponentName)

指定されたコンポーネントの通知アクセスを要求します。

SetHandle(IntPtr, JniHandleOwnership)

Handle プロパティを設定します。

(継承元 Object)
StartObservingDevicePresence(String)

関連付けられているデバイスが範囲内に入るたびにコールバックを受信するように登録します。

StopObservingDevicePresence(String)

関連付けられたデバイスが範囲外に入るたびにコールバックを受信するための登録を解除します。

ToArray<T>()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
ToString()

オブジェクトの文字列形式を返します。

(継承元 Object)
UnregisterFromRuntime()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
Wait()

現在のスレッドは、別のスレッドがこのオブジェクトの メソッドまたは メソッドをjava.lang.Object#notify()java.lang.Object#notifyAll()呼び出すまで待機します。

(継承元 Object)
Wait(Int64)

別のスレッドがこのオブジェクトの メソッドまたは java.lang.Object#notifyAll() メソッドを呼び出java.lang.Object#notify()すか、指定した時間が経過するまで、現在のスレッドを待機させます。

(継承元 Object)
Wait(Int64, Int32)

別のスレッドがこのオブジェクトのメソッドまたはjava.lang.Object#notifyAll()メソッドを呼び出すかjava.lang.Object#notify()、他のスレッドが現在のスレッドを中断するか、一定のリアルタイムが経過するまで、現在のスレッドを待機させます。

(継承元 Object)

明示的なインターフェイスの実装

IJavaPeerable.Disposed()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.DisposeUnlessReferenced()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.Finalized()

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.JniManagedPeerState

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
(継承元 Object)

拡張メソッド

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.
GetJniTypeName(IJavaPeerable)

コンパニオン デバイスを管理するためのシステム レベル サービス

        See <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        for a usage example.

適用対象