Language

VcnCellUnderlyingNetworkTemplate.Builder.SetOpportunistic(Int32) Method

Definition

Set the matching criteria for opportunistic cellular subscriptions.

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

Parameters

matchCriteria
Int32

the matching criteria for opportunistic cellular subscriptions. 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 opportunistic cellular subscriptions.

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

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