RtlSdr class

The RTL-SDR device.

Available Extensions

Constructors

RtlSdr([int index = 0])
Constructor for the device with the given index.
RtlSdr.fromSerial(String serial)
Returns the RtlSdr device with the given serial number.
factory

Properties

handle Pointer<DeviceHandle>
Device handle, attempts to open the device if no handle.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
The device index to identify the device.
final
isClosed bool
Tests if this device is closed.
no setter
isOpen bool
Tests if this device is open.
no setter
isValid bool
Tests if this is a valid device.
no setter
manufacturer String
The manufacturer of the device.
getter/setter pair
name String
The name of the device.
getter/setter pair
product String
The product name of the device.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serial String
The serial number of the device.
getter/setter pair
stream Stream<Uint8List>
Returns a broadcast stream of the device data.
no setter

Methods

close() → void
Closes the device, if it is not already closed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() → void
Opens the device for interaction, if it is not already open.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

devices Iterable<RtlSdr>
Returns an iterable of all RtlSdr devices accessible on this machine.
no setter