Added in API level 31
  
  
  
  
  
   
  
  
  
  
StructCmsghdr
  public
  
  final
  
  class
  StructCmsghdr
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.system.StructCmsghdr | 
Corresponds to C's struct cmsghdr.
Summary
| Fields | |
|---|---|
| 
    public
    
    final
    byte[] | cmsg_datamessage data sent/received | 
| 
    public
    
    final
    int | cmsg_levelOriginating protocol | 
| 
    public
    
    final
    int | cmsg_typeProtocol-specific type | 
| Public constructors | |
|---|---|
| 
      StructCmsghdr(int cmsg_level, int cmsg_type, byte[] value)
       | |
| 
      StructCmsghdr(int cmsg_level, int cmsg_type, short value)
       | |
| Inherited methods | |
|---|---|
Fields
Public constructors
StructCmsghdr
    Added in API level 31
  
      
  
    
public StructCmsghdr (int cmsg_level, 
                int cmsg_type, 
                byte[] value)| Parameters | |
|---|---|
| cmsg_level | int | 
| cmsg_type | int | 
| value | byte: This value cannot benull. | 
StructCmsghdr
    Added in API level 31
  
      
  
    
public StructCmsghdr (int cmsg_level, 
                int cmsg_type, 
                short value)| Parameters | |
|---|---|
| cmsg_level | int | 
| cmsg_type | int | 
| value | short | 
