# Print output for @column tags ?> ScanResult.InformationElement - Android SDK | Android Developers

Most visited

Recently visited

ScanResult.InformationElement

public static class ScanResult.InformationElement
extends Object

java.lang.Object
   ↳ android.net.wifi.ScanResult.InformationElement


information elements from beacon.

Summary

Public constructors

InformationElement(ScanResult.InformationElement rhs)

Public methods

ByteBuffer getBytes()

Get the specific content of the information element.

int getId()

The element ID of the information element.

int getIdExt()

The element ID Extension of the information element.

Inherited methods

Public constructors

InformationElement

public InformationElement (ScanResult.InformationElement rhs)

Parameters
rhs ScanResult.InformationElement: This value cannot be null.

Public methods

getBytes

public ByteBuffer getBytes ()

Get the specific content of the information element.

Returns
ByteBuffer This value cannot be null.

getId

public int getId ()

The element ID of the information element. Defined in the IEEE 802.11-2016 spec Table 9-77.

Returns
int

getIdExt

public int getIdExt ()

The element ID Extension of the information element. Defined in the IEEE 802.11-2016 spec Table 9-77.

Returns
int