Added in API level 31

IkeIpv4AddrIdentification


class IkeIpv4AddrIdentification : IkeIdentification
kotlin.Any
   ↳ android.net.ipsec.ike.IkeIdentification
   ↳ android.net.ipsec.ike.IkeIpv4AddrIdentification

IkeIpv4AddrIdentification represents an IKE entity identification based on IPv4 address.

Summary

Public constructors

Construct an instance of IkeIpv4AddrIdentification with an IPv4 address.

Public methods
Boolean
equals(other: Any?)

Int

Properties
Inet4Address

The IPv4 address.

Public constructors

IkeIpv4AddrIdentification

Added in API level 31
IkeIpv4AddrIdentification(address: Inet4Address)

Construct an instance of IkeIpv4AddrIdentification with an IPv4 address.

Parameters
address Inet4Address: the IPv4 address.
This value cannot be null.

Public methods

equals

Added in API level 31
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

hashCode

Added in API level 31
fun hashCode(): Int
Return
Int a hash code value for this object.

Properties

ipv4Address

Added in API level 31
val ipv4Address: Inet4Address

The IPv4 address.