| // Signature format: 4.0 |
| package androidx.wear.input { |
| |
| public final class DeviceWearableButtonsProvider implements androidx.wear.input.WearableButtonsProvider { |
| ctor public DeviceWearableButtonsProvider(); |
| method public int[]? getAvailableButtonKeyCodes(android.content.Context); |
| method public android.os.Bundle getButtonInfo(android.content.Context, int); |
| } |
| |
| public final class WearableButtons { |
| method public static int getButtonCount(android.content.Context); |
| method public static android.graphics.drawable.Drawable? getButtonIcon(android.content.Context, int); |
| method public static androidx.wear.input.WearableButtons.ButtonInfo? getButtonInfo(android.content.Context, int); |
| method public static CharSequence? getButtonLabel(android.content.Context, int); |
| } |
| |
| public static final class WearableButtons.ButtonInfo { |
| method public int getKeycode(); |
| method public int getLocationZone(); |
| method public float getX(); |
| method public float getY(); |
| } |
| |
| public interface WearableButtonsProvider { |
| method public int[]? getAvailableButtonKeyCodes(android.content.Context); |
| method public android.os.Bundle getButtonInfo(android.content.Context, int); |
| } |
| |
| } |
| |