Language

TemplateMatchParameter Enum

Definition

Specifies whether a network characteristic is required, forbidden, or ignored when a VCN template matches a network. See the Android template matching reference.

public enum TemplateMatchParameter
type TemplateMatchParameter = 
Inheritance
TemplateMatchParameter

Fields

Name Value Description
Any 0

Used to configure the matching criteria of a network characteristic. This may include network capabilities, or cellular subscription information. Denotes that networks with or without the characteristic are both acceptable to match this template.

Android reference for android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_ANY.

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.

Required 1

Used to configure the matching criteria of a network characteristic. This may include network capabilities, or cellular subscription information. Denotes that a network MUST have the capability in order to match this template.

Android reference for android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED.

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.

Forbidden 2

Used to configure the matching criteria of a network characteristic. This may include network capabilities, or cellular subscription information. Denotes that a network MUST NOT have the capability in order to match this template.

Android reference for android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_FORBIDDEN.

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.

Remarks

Any (0) accepts networks with or without the characteristic. Required (1) requires the characteristic. Forbidden (2) excludes networks with the characteristic. These values apply to network capabilities and cellular subscription characteristics.

Applies to