Page Summary
-
ObserverSpec configures the properties for ObserverCallback instances.
-
It includes a Builder for creating ObserverSpec instances.
-
The getFilterSchemas method returns the schema types that will trigger observers, or all if the list is empty.
-
ObserverSpec implements the Parcelable interface and has a CREATOR field for parceling.
Configures the types, namespaces and other properties that ObserverCallback
instances match against.
Nested Class Summary
| class | ObserverSpec.Builder | Builder for ObserverSpec
instances. |
|
Inherited Constant Summary
Field Summary
| public static final Creator<ObserverSpec> | CREATOR |
Public Method Summary
| Set<String> |
getFilterSchemas()
Returns the list of schema types which observers using this spec will trigger
on.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<ObserverSpec> CREATOR
Public Methods
public Set<String> getFilterSchemas ()
Returns the list of schema types which observers using this spec will trigger on.
If empty, the observers will trigger on all schema types.