![JAR search and dependency download from the Maven repository](/logo.png)
src.com.android.clockwork.cellular.WearCellularConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-all Show documentation
Show all versions of android-all Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform.
package com.android.clockwork.cellular;
import android.net.Uri;
public class WearCellularConstants {
// Keep in sync with
// com.google.android.clockwork.settings.SettingsContract.SETTINGS_AUTHORITY
public static final String WEARABLE_SETTINGS_AUTHORITY = "com.google.android.wearable.settings";
// Keep in sync with
// com.google.android.clockwork.settings.SettingsContract.MOBILE_SIGNAL_DETECTOR_PATH
public static final String MOBILE_SIGNAL_DETECTOR_PATH = "mobile_signal_detector";
// Keep in sync with
// com.google.android.clockwork.settings.SettingsContract.KEY_MOBILE_SIGNAL_DETECTOR
public static final String KEY_MOBILE_SIGNAL_DETECTOR = "mobile_signal_detector";
// Keep in sync with
// com.google.android.clockwork.settings.SettingsContract.MOBILE_SIGNAL_DETECTOR_URI
public static final Uri MOBILE_SIGNAL_DETECTOR_URI =
buildUri(WEARABLE_SETTINGS_AUTHORITY, MOBILE_SIGNAL_DETECTOR_PATH);
private static Uri buildUri(String authority, String path) {
return new Uri.Builder().scheme("content").authority(authority).path(path).build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy