PackageManager.PropertySelfCertifiedNetworkCapabilities Field
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.
<application> level android.content.pm.PackageManager.Property
tag
specifying the XML resource ID containing the declaration of the self-certified network
capabilities used by the application.
[Android.Runtime.Register("PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES", ApiSince=34)]
public const string PropertySelfCertifiedNetworkCapabilities;
[<Android.Runtime.Register("PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES", ApiSince=34)>]
val mutable PropertySelfCertifiedNetworkCapabilities : string
Field Value
- Attributes
Remarks
<application> level android.content.pm.PackageManager.Property
tag specifying the XML resource ID containing the declaration of the self-certified network capabilities used by the application.
Starting from Android 14, usage of some network capabilities in android.net.ConnectivityManager#requestNetwork
require the application to declare its usage of that particular capability in this resource. Only some capabilities require a declaration. Please look up the specific capability you want to use in android.net.NetworkCapabilities
to see if it needs declaration in this property.
For example: <application> <property android:name="android.net.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES" android:resource="
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.