TileServiceCompat


public class TileServiceCompat


A helper for accessing TileService API methods.

Summary

Public methods

static void

Calls the correct TileService#startActivityAndCollapse() method depending on the app's targeted android.os.Build.VERSION_CODES.

Public methods

startActivityAndCollapse

Added in 1.12.0
public static void startActivityAndCollapse(
    @NonNull TileService tileService,
    @NonNull PendingIntentActivityWrapper wrapper
)

Calls the correct TileService#startActivityAndCollapse() method depending on the app's targeted android.os.Build.VERSION_CODES.