Summary: [Constants](https://developer.android.com/reference/android/support/wearable/standalone/StandaloneConstants#constants) \| [Inherited Methods](https://developer.android.com/reference/android/support/wearable/standalone/StandaloneConstants#inhmethods)

# StandaloneConstants


`
public


class
StandaloneConstants
`


`

extends http://developer.android.com/reference/java/lang/Object.html


`

`


`

|---|---|
| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | android.support.wearable.standalone.StandaloneConstants |

<br />

*** ** * ** ***


**This class is deprecated.**   

use the `androidx.wear.utils.MetadataConstants` provided by the [Jetpack Wear](https://developer.android.com/jetpack/androidx/releases/wear) library instead.

Constants for Wear OS standalone apps.

Wear apps that do not require a phone side companion app to function can declare this in their
AndroidManifest.xml file by setting the standalone meta-data element to true as shown in the
following example. If this value is true, all users can discover this app regardless of what
phone they have. If this value is false (or not set), only users with compatible Android phones
can discover this app.

    <meta-data
         android:name="com.google.android.wearable.standalone"
         android:value="true" />
     
<br />

## Summary

| ### Constants ||
|---|---|
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/standalone/StandaloneConstants.html#STANDALONE_METADATA_NAME` The name of the meta-data element in the Wear app manifest for specifying whether this app does not require a companion phone app. |

| ### Inherited methods |
|---|---|
| From class ` http://developer.android.com/reference/java/lang/Object.html ` |---|---| | ` http://developer.android.com/reference/java/lang/Object.html` | ` clone() ` | | ` boolean` | ` equals(http://developer.android.com/reference/java/lang/Object.html arg0) ` | | ` void` | ` finalize() ` | | ` final http://developer.android.com/reference/java/lang/Class.html<?>` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` http://developer.android.com/reference/java/lang/String.html` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||

## Constants

### STANDALONE_METADATA_NAME

```
public static final String STANDALONE_METADATA_NAME
```

The name of the meta-data element in the Wear app manifest for specifying whether this app does
not require a companion phone app. The value should be set to "true" or "false".

<br />

Constant Value:

"com.google.android.wearable.standalone"