-
public final class PhoneDataLayerAppHelper extends DataLayerAppHelperSubclass of DataLayerAppHelper for use on phones.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPhoneDataLayerAppHelper.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Flow<Set<Node>>connectedAndInstalledNodes
-
Constructor Summary
Constructors Constructor Description PhoneDataLayerAppHelper(Context context, WearDataLayerRegistry registry)
-
Method Summary
Modifier and Type Method Description Flow<Set<Node>>getConnectedAndInstalledNodes()AppHelperResultCodeinstallOnNode(String nodeId)AppHelperResultCodestartCompanion(String nodeId)final AppHelperNodeStatusfindWatchToInstallTile()Filters for watch nodes where the app is installed but Tile is not installed. final AppHelperResultCodecheckCompanionVersionSupportTileEditing()Checks that the companion app supports deep linking to Tile editor setting. -
Methods inherited from class com.google.android.horologist.datalayer.phone.PhoneDataLayerAppHelper
connectedNodes, isAvailable, startRemoteActivity, startRemoteOwnApp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PhoneDataLayerAppHelper
PhoneDataLayerAppHelper(Context context, WearDataLayerRegistry registry)
-
-
Method Detail
-
getConnectedAndInstalledNodes
Flow<Set<Node>> getConnectedAndInstalledNodes()
-
installOnNode
AppHelperResultCode installOnNode(String nodeId)
-
startCompanion
@CheckResult() AppHelperResultCode startCompanion(String nodeId)
-
findWatchToInstallTile
final AppHelperNodeStatus findWatchToInstallTile()
Filters for watch nodes where the app is installed but Tile is not installed.
-
checkCompanionVersionSupportTileEditing
final AppHelperResultCode checkCompanionVersionSupportTileEditing()
Checks that the companion app supports deep linking to Tile editor setting.
-
-
-
-