Table of Contents

Class ScanResult

Namespace
Android.Bluetooth.Le
Assembly
MASES.Netdroid.dll
public class ScanResult : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
ScanResult
Implements
Inherited Members
Extension Methods

Constructors

ScanResult(BluetoothDevice, ScanRecord, int, long)

[Obsolete("Deprecated in JVM")]
public ScanResult(BluetoothDevice arg0, ScanRecord arg1, int arg2, long arg3)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 ScanRecord

ScanRecord

arg2 int

int

arg3 long

long

ScanResult(BluetoothDevice, int, int, int, int, int, int, int, ScanRecord, long)

public ScanResult(BluetoothDevice arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ScanRecord arg8, long arg9)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

arg7 int

int

arg8 ScanRecord

ScanRecord

arg9 long

long

ScanResult(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ScanResult(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

DATA_COMPLETE

public static int DATA_COMPLETE { get; set; }

Property Value

int

DATA_TRUNCATED

public static int DATA_TRUNCATED { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PERIODIC_INTERVAL_NOT_PRESENT

public static int PERIODIC_INTERVAL_NOT_PRESENT { get; set; }

Property Value

int

PHY_UNUSED

public static int PHY_UNUSED { get; set; }

Property Value

int

SID_NOT_PRESENT

public static int SID_NOT_PRESENT { get; set; }

Property Value

int

TX_POWER_NOT_PRESENT

public static int TX_POWER_NOT_PRESENT { get; set; }

Property Value

int

Methods

CreatePoolableInstance(BluetoothDevice, ScanRecord, int, long)

HPA initializer for ScanResult(Android.Bluetooth.BluetoothDevice arg0, Android.Bluetooth.Le.ScanRecord arg1, int arg2, long arg3)

public static ScanResult CreatePoolableInstance(BluetoothDevice arg0, ScanRecord arg1, int arg2, long arg3)

Parameters

arg0 BluetoothDevice
arg1 ScanRecord
arg2 int
arg3 long

Returns

ScanResult

CreatePoolableInstance(BluetoothDevice, int, int, int, int, int, int, int, ScanRecord, long)

HPA initializer for ScanResult(Android.Bluetooth.BluetoothDevice arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, Android.Bluetooth.Le.ScanRecord arg8, long arg9)

public static ScanResult CreatePoolableInstance(BluetoothDevice arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ScanRecord arg8, long arg9)

Parameters

arg0 BluetoothDevice
arg1 int
arg2 int
arg3 int
arg4 int
arg5 int
arg6 int
arg7 int
arg8 ScanRecord
arg9 long

Returns

ScanResult

DescribeContents()

public int DescribeContents()

Returns

int

int

GetAdvertisingSid()

public int GetAdvertisingSid()

Returns

int

int

GetDataStatus()

public int GetDataStatus()

Returns

int

int

GetDevice()

public BluetoothDevice GetDevice()

Returns

BluetoothDevice

BluetoothDevice

GetPeriodicAdvertisingInterval()

public int GetPeriodicAdvertisingInterval()

Returns

int

int

GetPrimaryPhy()

public int GetPrimaryPhy()

Returns

int

int

GetRssi()

public int GetRssi()

Returns

int

int

GetScanRecord()

public ScanRecord GetScanRecord()

Returns

ScanRecord

ScanRecord

GetSecondaryPhy()

public int GetSecondaryPhy()

Returns

int

int

GetTimestampNanos()

public long GetTimestampNanos()

Returns

long

long

GetTxPower()

public int GetTxPower()

Returns

int

int

IsConnectable()

public bool IsConnectable()

Returns

bool

bool

IsLegacy()

public bool IsLegacy()

Returns

bool

bool

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int