public interface ComponentService
Modifier and Type | Method and Description |
---|---|
ComplicationDataSource[] |
getComplicationDataSources()
Returns an array containing all the complication data sources.
|
void |
registerActivity(Activity activity)
Registers the given activity.
|
void |
registerComplicationDataSource(ComplicationDataSource source)
Registers the given complication data source.
|
void |
registerWatchface(Watchface watchface)
Registers the given watchface.
|
ComplicationDataSource[] getComplicationDataSources()
void registerActivity(Activity activity)
activity
- the activity to register.void registerComplicationDataSource(ComplicationDataSource source)
source
- the source to register.void registerWatchface(Watchface watchface)
watchface
- the watchface to register.