Show / Hide Table of Contents

Class StreamDevice

Generic stream device

Inheritance
object
NmeaDevice
StreamDevice
Implements
IDisposable
Inherited Members
NmeaDevice.OpenAsync()
NmeaDevice.ReadAsync(byte[], int, int, CancellationToken)
NmeaDevice.CloseAsync()
NmeaDevice.MessageReceived
NmeaDevice.DeviceDisconnected
NmeaDevice.Dispose()
NmeaDevice.IsOpen
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NmeaParser
Assembly: NmeaParser.dll
Syntax
public class StreamDevice : NmeaDevice, IDisposable

Constructors

Name Description
StreamDevice(Stream)

Initializes a new instance of the StreamDevice class.

Properties

Name Description
CanWrite

Gets a value indicating whether this device supports writing

Methods

Name Description
CloseStreamAsync(Stream)

Closes the stream the NmeaDevice is working on top off.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

OpenStreamAsync()

Creates and opens the stream the NmeaDevice is working on top off.

WriteAsync(byte[], int, int)

Writes to the device stream. Useful for transmitting RTCM corrections to the device Check the CanWrite property before calling this method.

Applies

TargetVersions
.NET Standard 2.0main, v3.0, v2.2, v2.1, v2.0
.NETmain, v3.0
.NET Windowsmain, v3.0
.NET Androidmain, v3.0
.NET iOSmain, v3.0
.NET Frameworkmain, v3.0, v2.2, v2.1, v2.0
UWPmain, v3.0, v2.2, v2.1, v2.0
Xamarin.Androidv2.2, v2.1, v2.0
Xamarin.iOSv2.2, v2.1, v2.0
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX