DirectAction.Builder.SetLocusId(LocusId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the optional locus id.
[Android.Runtime.Register("setLocusId", "(Landroid/content/LocusId;)Landroid/app/DirectAction$Builder;", "", ApiSince=29)]
public Android.App.DirectAction.Builder SetLocusId(Android.Content.LocusId? locusId);
[<Android.Runtime.Register("setLocusId", "(Landroid/content/LocusId;)Landroid/app/DirectAction$Builder;", "", ApiSince=29)>]
member this.SetLocusId : Android.Content.LocusId -> Android.App.DirectAction.Builder
Parameters
- locusId
- LocusId
LocusId: The locus id. This value may be null.
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Sets the optional locus id. This is an identifier of the application state from a user perspective. For example, a specific chat in a messaging app.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-03 UTC.
Android reference for android.app.DirectAction.Builder.setLocusId.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.