MultiInstanceInvalidationService


@ExperimentalRoomApi
public final class MultiInstanceInvalidationService extends Service


A Service for remote invalidation among multiple InvalidationTracker instances. This service runs in the main app process. All the instances of InvalidationTracker (potentially in other processes) has to connect to this service.

The intent to launch it can be specified by RoomDatabase.Builder.setMultiInstanceInvalidationServiceIntent, although the service is defined in the manifest by default so there should be no need to override it in a normal situation.

Summary

Public constructors

Public methods

@NonNull IBinder

Inherited methods

From android.content.Context
boolean
bindIsolatedService(
    @NonNull Intent p0,
    @NonNull Context.BindServiceFlags p1,
    @NonNull String p2,
    @NonNull <a href="https://dev