blob: ad857cc01cd47d3bf9edbc25c6aafe36b17d28a7 [file] [log] [blame]
// 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 RemoteInputIntentHelper {
method public static android.content.Intent createActionRemoteInputIntent();
method public static CharSequence? getCancelLabelExtra(android.content.Intent intent);
method public static CharSequence? getConfirmLabelExtra(android.content.Intent intent);
method public static CharSequence? getInProgressLabelExtra(android.content.Intent intent);
method public static java.util.List<android.app.RemoteInput>? getRemoteInputsExtra(android.content.Intent intent);
method public static java.util.List<java.lang.CharSequence>? getSmartReplyContextExtra(android.content.Intent intent);
method public static CharSequence? getTitleExtra(android.content.Intent intent);
method public static boolean hasRemoteInputsExtra(android.content.Intent intent);
method public static boolean isActionRemoteInput(android.content.Intent intent);
method public static android.content.Intent putCancelLabelExtra(android.content.Intent intent, CharSequence label);
method public static android.content.Intent putConfirmLabelExtra(android.content.Intent intent, CharSequence label);
method public static android.content.Intent putInProgressLabelExtra(android.content.Intent intent, CharSequence label);
method public static android.content.Intent putRemoteInputsExtra(android.content.Intent intent, java.util.List<android.app.RemoteInput> remoteInputs);
method public static android.content.Intent putSmartReplyContextExtra(android.content.Intent intent, java.util.List<? extends java.lang.CharSequence> smartReplyContext);
method public static android.content.Intent putTitleExtra(android.content.Intent intent, CharSequence title);
field public static final androidx.wear.input.RemoteInputIntentHelper.Companion Companion;
}
public static final class RemoteInputIntentHelper.Companion {
method public android.content.Intent createActionRemoteInputIntent();
method public CharSequence? getCancelLabelExtra(android.content.Intent intent);
method public CharSequence? getConfirmLabelExtra(android.content.Intent intent);
method public CharSequence? getInProgressLabelExtra(android.content.Intent intent);
method public java.util.List<android.app.RemoteInput>? getRemoteInputsExtra(android.content.Intent intent);
method public java.util.List<java.lang.CharSequence>? getSmartReplyContextExtra(android.content.Intent intent);
method public CharSequence? getTitleExtra(android.content.Intent intent);
method public boolean hasRemoteInputsExtra(android.content.Intent intent);
method public boolean isActionRemoteInput(android.content.Intent intent);
method public android.content.Intent putCancelLabelExtra(android.content.Intent intent, CharSequence label);
method public android.content.Intent putConfirmLabelExtra(android.content.Intent intent, CharSequence label);
method public android.content.Intent putInProgressLabelExtra(android.content.Intent intent, CharSequence label);
method public android.content.Intent putRemoteInputsExtra(android.content.Intent intent, java.util.List<android.app.RemoteInput> remoteInputs);
method public android.content.Intent putSmartReplyContextExtra(android.content.Intent intent, java.util.List<? extends java.lang.CharSequence> smartReplyContext);
method public android.content.Intent putTitleExtra(android.content.Intent intent, CharSequence title);
}
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);
method @VisibleForTesting public static void setWearableButtonsProvider(androidx.wear.input.WearableButtonsProvider);
field public static final int LOCATION_BOTTOM_CENTER = 107; // 0x6b
field public static final int LOCATION_BOTTOM_LEFT = 106; // 0x6a
field public static final int LOCATION_BOTTOM_RIGHT = 108; // 0x6c
field public static final int LOCATION_EAST = 0; // 0x0
field public static final int LOCATION_ENE = 1; // 0x1
field public static final int LOCATION_ESE = 15; // 0xf
field public static final int LOCATION_LEFT_BOTTOM = 105; // 0x69
field public static final int LOCATION_LEFT_CENTER = 104; // 0x68
field public static final int LOCATION_LEFT_TOP = 103; // 0x67
field public static final int LOCATION_NE = 2; // 0x2
field public static final int LOCATION_NNE = 3; // 0x3
field public static final int LOCATION_NNW = 5; // 0x5
field public static final int LOCATION_NORTH = 4; // 0x4
field public static final int LOCATION_NW = 6; // 0x6
field public static final int LOCATION_RIGHT_BOTTOM = 109; // 0x6d
field public static final int LOCATION_RIGHT_CENTER = 110; // 0x6e
field public static final int LOCATION_RIGHT_TOP = 111; // 0x6f
field public static final int LOCATION_SE = 14; // 0xe
field public static final int LOCATION_SOUTH = 12; // 0xc
field public static final int LOCATION_SSE = 13; // 0xd
field public static final int LOCATION_SSW = 11; // 0xb
field public static final int LOCATION_SW = 10; // 0xa
field public static final int LOCATION_TOP_CENTER = 101; // 0x65
field public static final int LOCATION_TOP_LEFT = 102; // 0x66
field public static final int LOCATION_TOP_RIGHT = 100; // 0x64
field public static final int LOCATION_UNKNOWN = -1; // 0xffffffff
field public static final int LOCATION_WEST = 8; // 0x8
field public static final int LOCATION_WNW = 7; // 0x7
field public static final int LOCATION_WSW = 9; // 0x9
}
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);
}
public final class WearableRemoteInputExtender {
ctor public WearableRemoteInputExtender(android.app.RemoteInput.Builder remoteInput);
method public android.app.RemoteInput.Builder get();
method public androidx.wear.input.WearableRemoteInputExtender setEmojisAllowed(boolean emojisAllowed);
method public androidx.wear.input.WearableRemoteInputExtender setInputActionType(int imeActionType);
}
public final class WearableRemoteInputExtenderKt {
method public static android.app.RemoteInput.Builder wearableExtender(android.app.RemoteInput.Builder, kotlin.jvm.functions.Function1<? super androidx.wear.input.WearableRemoteInputExtender,kotlin.Unit> block);
}
}