次の方法で共有


PackageManager.PropertySpecialUseFgsSubtype Field

Definition

<service> level android.content.pm.PackageManager.Property tag specifying the actual use case of the service if it's foreground service with the type ServiceInfo#FOREGROUND_SERVICE_TYPE_SPECIAL_USE.

[Android.Runtime.Register("PROPERTY_SPECIAL_USE_FGS_SUBTYPE", ApiSince=34)]
public const string PropertySpecialUseFgsSubtype;
[<Android.Runtime.Register("PROPERTY_SPECIAL_USE_FGS_SUBTYPE", ApiSince=34)>]
val mutable PropertySpecialUseFgsSubtype : string

Field Value

Attributes

Remarks

&lt;service&gt; level android.content.pm.PackageManager.Property tag specifying the actual use case of the service if it's foreground service with the type ServiceInfo#FOREGROUND_SERVICE_TYPE_SPECIAL_USE.

For example: &lt;service&gt; &lt;property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="foo"/&gt; &lt;/service&gt;

Java documentation for android.content.pm.PackageManager.PROPERTY_SPECIAL_USE_FGS_SUBTYPE.

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