Skip to content

Most visited

Recently visited

navigation
AgendaData / Application / src / com.example.android.wearable.agendadata /

Constants.java

1
/*
2
 * Copyright (C) 2014 The Android Open Source Project
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
 
17
package com.example.android.wearable.agendadata;
18
 
19
/** Constants used in companion app. */
20
public final class Constants {
21
    private Constants() {
22
    }
23
 
24
    public static final String TAG = "AgendaDataSample";
25
 
26
    public static final String CAL_DATA_ITEM_PATH_PREFIX = "/event";
27
    // Timeout for making a connection to GoogleApiClient (in milliseconds).
28
    public static final long CONNECTION_TIME_OUT_MS = 100;
29
 
30
    public static final String EVENT_ID = "event_id";
31
    public static final String ID = "id";
32
    public static final String TITLE = "title";
33
    public static final String DESCRIPTION = "description";
34
    public static final String BEGIN = "begin";
35
    public static final String END = "end";
36
    public static final String DATA_ITEM_URI = "data_item_uri";
37
    public static final String ALL_DAY = "all_day";
38
    public static final String PROFILE_PIC = "profile_pic";
39
}
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)