Language

VcnCellUnderlyingNetworkTemplate.Builder.SetCbs Method

Definition

Sets the matching criteria for CBS networks.

[Android.Runtime.Register("setCbs", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)]
public Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder SetCbs(Android.Net.Vcn.TemplateMatchParameter matchCriteria);
[<Android.Runtime.Register("setCbs", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)>]
member this.SetCbs : Android.Net.Vcn.TemplateMatchParameter -> Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder

Parameters

matchCriteria
TemplateMatchParameter

the matching criteria for CBS 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 CBS networks.

A template where setCbs(MATCH_REQUIRED) is called will only match CBS networks (ones with NET_CAPABILITY_CBS). A template where setCbs(MATCH_FORBIDDEN) is called will only match networks that do not support CBS (ones without NET_CAPABILITY_CBS).

Android reference for android.net.vcn.VcnCellUnderlyingNetworkTemplate.Builder.setCbs.

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