public class

Constants

extends java.lang.Object

 java.lang.Object

↳androidx.core.google.shortcuts.builders.Constants

Gradle dependencies

compile group: 'androidx.core', name: 'core-google-shortcuts', version: '1.2.0-alpha01'

  • groupId: androidx.core
  • artifactId: core-google-shortcuts
  • version: 1.2.0-alpha01

Artifact androidx.core:core-google-shortcuts:1.2.0-alpha01 it located at Google repository (https://maven.google.com/)

Overview

Constants for the Shortcut Corpus.

Summary

Fields
public static final java.lang.StringCAPABILITY_PARAMETER_KEY

public static final java.lang.StringCAPABILITY_TYPE

public static final java.lang.StringPARAMETER_TYPE

public static final java.lang.StringPARAMETER_VALUE_KEY

public static final java.lang.StringSHORTCUT_CAPABILITY_KEY

public static final java.lang.StringSHORTCUT_DESCRIPTION_KEY

public static final java.lang.StringSHORTCUT_LABEL_KEY

public static final java.lang.StringSHORTCUT_TYPE

public static final java.lang.StringSHORTCUT_URL_KEY

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final java.lang.String SHORTCUT_TYPE

public static final java.lang.String CAPABILITY_TYPE

public static final java.lang.String PARAMETER_TYPE

public static final java.lang.String SHORTCUT_LABEL_KEY

public static final java.lang.String SHORTCUT_DESCRIPTION_KEY

public static final java.lang.String SHORTCUT_URL_KEY

public static final java.lang.String SHORTCUT_CAPABILITY_KEY

public static final java.lang.String CAPABILITY_PARAMETER_KEY

public static final java.lang.String PARAMETER_VALUE_KEY

Source

/*
 * Copyright 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package androidx.core.google.shortcuts.builders;

import static androidx.annotation.RestrictTo.Scope.LIBRARY;

import androidx.annotation.RestrictTo;

/**
 * Constants for the Shortcut Corpus.
 *
 */
@RestrictTo(LIBRARY)
public class Constants {
    public static final String SHORTCUT_TYPE = "Shortcut";
    public static final String CAPABILITY_TYPE = "Capability";
    public static final String PARAMETER_TYPE = "Parameter";

    public static final String SHORTCUT_LABEL_KEY = "shortcutLabel";
    public static final String SHORTCUT_DESCRIPTION_KEY = "shortcutDescription";
    public static final String SHORTCUT_URL_KEY = "shortcutUrl";
    public static final String SHORTCUT_CAPABILITY_KEY = "capability";

    public static final String CAPABILITY_PARAMETER_KEY = "parameter";

    public static final String PARAMETER_VALUE_KEY = "value";

    private Constants() {}
}