Udostępnij za pośrednictwem


VcnGatewayConnectionConfig Class

Definition

This class represents a configuration for a connection to a Virtual Carrier Network gateway.

[Android.Runtime.Register("android/net/vcn/VcnGatewayConnectionConfig", ApiSince=31, DoNotGenerateAcw=true)]
public sealed class VcnGatewayConnectionConfig : Java.Lang.Object
[<Android.Runtime.Register("android/net/vcn/VcnGatewayConnectionConfig", ApiSince=31, DoNotGenerateAcw=true)>]
type VcnGatewayConnectionConfig = class
    inherit Object
Inheritance
VcnGatewayConnectionConfig
Attributes

Remarks

This class represents a configuration for a connection to a Virtual Carrier Network gateway.

Each VcnGatewayConnectionConfig represents a single logical connection to a carrier gateway, and may provide one or more telephony services (as represented by network capabilities). Each gateway is expected to provide mobility for a given session as the device roams across Networks.

A VCN connection based on this configuration will be brought up dynamically based on device settings, and filed NetworkRequests. Underlying Networks must provide INTERNET connectivity, and must be part of the subscription group under which this configuration is registered (see VcnManager#setVcnConfig).

As an abstraction of a cellular network, services that can be provided by a VCN network are limited to services provided by cellular networks:

<ul> <li>NetworkCapabilities#NET_CAPABILITY_MMS<li>NetworkCapabilities#NET_CAPABILITY_SUPL<li>NetworkCapabilities#NET_CAPABILITY_DUN<li>NetworkCapabilities#NET_CAPABILITY_FOTA<li>NetworkCapabilities#NET_CAPABILITY_IMS<li>NetworkCapabilities#NET_CAPABILITY_CBS<li>NetworkCapabilities#NET_CAPABILITY_IA<li>NetworkCapabilities#NET_CAPABILITY_RCS<li>NetworkCapabilities#NET_CAPABILITY_XCAP<li>NetworkCapabilities#NET_CAPABILITY_EIMS<li>NetworkCapabilities#NET_CAPABILITY_INTERNET<li>NetworkCapabilities#NET_CAPABILITY_MCX</ul>

Java documentation for android.net.vcn.VcnGatewayConnectionConfig.

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.

Fields

VcnGatewayOptionEnableDataStallRecoveryWithMobility
Obsolete.

Perform mobility update to attempt recovery from suspected data stalls.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
GatewayConnectionName

Returns the configured Gateway Connection name.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MaxMtu

Retrieves the maximum MTU allowed for this Gateway Connection.

MinUdpPort4500NatTimeoutSeconds

Retrieves the maximum supported IKEv2/IPsec NATT keepalive timeout.

PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
VcnUnderlyingNetworkPriorities

Retrieve the VcnUnderlyingNetworkTemplate list, or a default list if it is not configured.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetExposedCapabilities()

Returns all exposed capabilities.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRetryIntervalsMillis()

Retrieves the configured retry intervals.

HasGatewayOption(GatewayOption)

Checks if the given VCN gateway option is enabled.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to