NetworkCapabilities.HasEnterpriseId(Int32) 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.
Tests for the presence of an enterprise capability identifier on this instance.
[Android.Runtime.Register("hasEnterpriseId", "(I)Z", "", ApiSince=33)]
public bool HasEnterpriseId (int enterpriseId);
[<Android.Runtime.Register("hasEnterpriseId", "(I)Z", "", ApiSince=33)>]
member this.HasEnterpriseId : int -> bool
Parameters
- enterpriseId
- Int32
the enterprise capability identifier to be tested for.
Returns
true
if set on this instance.
- Attributes
Remarks
Tests for the presence of an enterprise capability identifier on this instance.
If NET_CAPABILITY_ENTERPRISE is set and no enterprise ID is set, it is considered to have NET_CAPABILITY_ENTERPRISE by default.
Java documentation for android.net.NetworkCapabilities.hasEnterpriseId(int)
.
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.