Sdílet prostřednictvím


InlineSuggestionsRequest.HostPackageName Property

Definition

The package name of the app that requests for the inline suggestions and will host the embedded suggestion views.

public string HostPackageName { [Android.Runtime.Register("getHostPackageName", "()Ljava/lang/String;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getHostPackageName", "()Ljava/lang/String;", "", ApiSince=30)>]
member this.HostPackageName : string

Property Value

Attributes

Remarks

The package name of the app that requests for the inline suggestions and will host the embedded suggestion views. The app does not have to set the value for the field because it'll be set by the system for safety reasons.

Java documentation for android.view.inputmethod.InlineSuggestionsRequest.getHostPackageName().

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.

Applies to