BluetoothAdapter.GetProfileProxy メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロファイルに関連付けられているプロファイル プロキシ オブジェクトを取得します。
[Android.Runtime.Register("getProfileProxy", "(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;I)Z", "")]
public bool GetProfileProxy(Android.Content.Context? context, Android.Bluetooth.IBluetoothProfileServiceListener? listener, Android.Bluetooth.ProfileType profile);
[<Android.Runtime.Register("getProfileProxy", "(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;I)Z", "")>]
member this.GetProfileProxy : Android.Content.Context * Android.Bluetooth.IBluetoothProfileServiceListener * Android.Bluetooth.ProfileType -> bool
パラメーター
- context
- Context
アプリケーションのコンテキスト
- listener
- IBluetoothProfileServiceListener
接続コールバックのサービス リスナー。
- profile
- ProfileType
Bluetooth プロファイル。 BluetoothProfile#HEADSET、 BluetoothProfile#A2DP、 BluetoothProfile#GATT、 BluetoothProfile#HEARING_AID 、または BluetoothProfile#GATT_SERVER。
返品
成功した場合は true、エラーの場合は false
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。