言語

InputManager.IsButtonAllowedForCustomization メソッド

定義

デバイスで特定のボタンのカスタマイズが許可されているかどうかを確認します。

[Android.Runtime.Register("isButtonAllowedForCustomization", "(III)Z", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public bool IsButtonAllowedForCustomization(int vendorId, int productId, Android.Hardware.Input.CustomizableButton buttonCode);
[<Android.Runtime.Register("isButtonAllowedForCustomization", "(III)Z", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.IsButtonAllowedForCustomization : int * int * Android.Hardware.Input.CustomizableButton -> bool

パラメーター

vendorId
Int32

デバイスのベンダー ID。

productId
Int32

デバイスの製品 ID。

buttonCode
CustomizableButton

チェックするボタン コード。

返品

一致するデバイスでボタンをカスタマイズできる場合は true、それ以外の場合は False。

属性

適用対象