VcnCellUnderlyingNetworkTemplate.Builder.SetDun 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 matching criteria for DUN networks.
[Android.Runtime.Register("setDun", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)]
public Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder SetDun(Android.Net.Vcn.TemplateMatchParameter matchCriteria);
[<Android.Runtime.Register("setDun", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)>]
member this.SetDun : Android.Net.Vcn.TemplateMatchParameter -> Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder
Parameters
- matchCriteria
- TemplateMatchParameter
the matching criteria for DUN networks. Defaults to VcnUnderlyingNetworkTemplate.MATCH_ANY. Value is one of the following: VcnUnderlyingNetworkTemplate.MATCH_ANY; VcnUnderlyingNetworkTemplate.MATCH_REQUIRED; VcnUnderlyingNetworkTemplate.MATCH_FORBIDDEN
Returns
- Attributes
Remarks
Sets the matching criteria for DUN networks.
A template where setDun(MATCH_REQUIRED) is called will only match DUN networks (ones with NET_CAPABILITY_DUN). A template where setDun(MATCH_FORBIDDEN) is called will only match networks that do not support DUN (ones without NET_CAPABILITY_DUN).
Android reference for android.net.vcn.VcnCellUnderlyingNetworkTemplate.Builder.setDun.
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.