Added in API level 29

DataRemovalRequest.LocusIdRequest


public final class DataRemovalRequest.LocusIdRequest
extends Object

java.lang.Object
   ↳ android.view.contentcapture.DataRemovalRequest.LocusIdRequest


Representation of a request to remove data associated with a LocusId.

Summary

Public methods

int getFlags()

Gets the flags associates with request.

LocusId getLocusId()

Gets the LocusId per se.

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public methods

getFlags

Added in API level 29
public int getFlags ()

Gets the flags associates with request.

Returns
int either DataRemovalRequest.FLAG_IS_PREFIX or 0. This value cannot be null. Value is either 0 or DataRemovalRequest.FLAG_IS_PREFIX

getLocusId

Added in API level 29
public LocusId getLocusId ()

Gets the LocusId per se.

Returns
LocusId This value cannot be null.

Jetpack Compose is Android's recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.

Updated Dec 1, 2024

Implement more advanced layouts and add movement and style to your app. You’ll learn about the various Compose Animation APIs, how to implement Material Design 3, how to use custom layouts to implement complex designs, and how you can use lazy layouts to create performant UIs.

Updated May 5, 2023

Learn how to create a functioning app, using navigation, advanced state and side effects.

Updated May 5, 2023