Added in API level 31

StructCmsghdr


class StructCmsghdr
kotlin.Any
   ↳ android.system.StructCmsghdr

Corresponds to C's struct cmsghdr.

Summary

Public constructors
StructCmsghdr(cmsg_level: Int, cmsg_type: Int, value: ByteArray)

StructCmsghdr(cmsg_level: Int, cmsg_type: Int, value: Short)

Properties
ByteArray

message data sent/received

Int

Originating protocol

Int

Protocol-specific type

Public constructors

StructCmsghdr

Added in API level 31
StructCmsghdr(
    cmsg_level: Int,
    cmsg_type: Int,
    value: ByteArray)
Parameters
value ByteArray: This value cannot be null.

StructCmsghdr

Added in API level 31
StructCmsghdr(
    cmsg_level: Int,
    cmsg_type: Int,
    value: Short)

Properties

cmsg_data

Added in API level 31
val cmsg_data: ByteArray

message data sent/received

cmsg_level

Added in API level 31
val cmsg_level: Int

Originating protocol

cmsg_type

Added in API level 31
val cmsg_type: Int

Protocol-specific type