Language

VcnCellUnderlyingNetworkTemplate.Builder.SetRoaming(Int32) Method

Definition

Set the matching criteria for roaming networks.

[Android.Runtime.Register("setRoaming", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=33)]
public Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder SetRoaming(int matchCriteria);
[<Android.Runtime.Register("setRoaming", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=33)>]
member this.SetRoaming : int -> Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder

Parameters

matchCriteria
Int32

the matching criteria for roaming networks. Defaults to VcnUnderlyingNetworkTemplate.MATCH_ANY. Value is one of the following: VcnUnderlyingNetworkTemplate.MATCH_ANY; VcnUnderlyingNetworkTemplate.MATCH_REQUIRED; VcnUnderlyingNetworkTemplate.MATCH_FORBIDDEN

Returns

Attributes

Remarks

Set the matching criteria for roaming networks.

A template where setRoaming(MATCH_REQUIRED) will only match roaming networks (one without NET_CAPABILITY_NOT_ROAMING). A template where setRoaming(MATCH_FORBIDDEN) will only match a network that is not roaming (one with NET_CAPABILITY_NOT_ROAMING).

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

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