Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraMetadata ¶
type FileContentData ¶
type FileContentData struct { ExtraMetadata ExtraMetadata `json:"extraMetadata"` FileType string `json:"fileType"` FontName string `json:"fontName"` LastOpenedPage int `json:"lastOpenedPage"` LineHeight int `json:"lineHeight"` Margins int `json:"margins"` PageCount int `json:"pageCount"` TextScale int `json:"textScale"` Transform Transform `json:"transform"` }
type FileMetaData ¶
type FileMetaData struct { Deleted bool `json:"deleted"` LastModified string `json:"lastModified"` Metadatamodified bool `json:"metadatamodified"` Modified bool `json:"modified"` Parent string `json:"parent"` Pinned bool `json:"pinned"` Synced bool `json:"synced"` Type string `json:"type"` Version int `json:"version"` VisibleName string `json:"visibleName"` }
type Folder ¶
type Remarkable ¶
type Remarkable interface { // Close closes the device Close() error // Frame retrieves a single frame Frame() ([]byte, error) // NewStream adds a new stream recipient on the provided writer NewStream(w io.Writer) error // Dimensions returns the width + height of the underlying frame(buffer) Dimensions() (int, int) // Upload uploads a file (PDF / ePUB) to the device tree Upload(docs ...Document) error // FileTree returns a tree structure of all files on the device FileTree() (*Tree, error) // Download retrieves a file (PDF / ePUB) from the device tree Download(id string) (*Document, error) }
Remarkable denotes a generic Remarkable device
Click to show internal directories.
Click to hide internal directories.