ProSlideImage class

Represents the data used for a slide image that may come from a url or a B64 encoded String. The SD api passes a UID with a slide that can be used to generate a url to a full resolution version of the slide image. The Remote api passes the slide data as a Base 64 encoded string

Constructors

ProSlideImage.fromBase64(String encoded, int quality)
Use this constructor when you have the Base 64 encoded slide image. This is sent with the Remote Control protocol
ProSlideImage.fromUrl(String url, {dynamic version = ProVersion.six})
Use this Constructor when you have the UID / URL of a slide image. This is sent with the Stage Display protocol.

Properties

hashCode int
The hash code for this object.
no setterinherited
quality int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slideImageBytes List<int>
getter/setter pair
stream Stream<List<int>>
Will return a stream of bytes representing JPG encoded image of this slide. The first set of bytes will be the image from local cache if it exists, and when the network request returns, it will be sent as a second set of bytes. ProPresenter version 6 yields JPG bytes, but 7+ yields TIFF encoded images that we transcode to JPG in memory.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateImage(String slideImageEncoded, {int? quality}) → void

Operators

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