JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::AndroidDocumentInputSource Class Reference

An InputSource backed by an AndroidDocument. More...

#include "juce_AndroidDocumentInputSource.h"

Inheritance diagram for juce::AndroidDocumentInputSource:
juce::InputSource

Public Member Functions

 AndroidDocumentInputSource (const AndroidDocument &doc)
 Creates a new AndroidDocumentInputSource, backed by the provided document.
 
InputStreamcreateInputStream () override
 Returns a new InputStream to read this item.
 
InputStreamcreateInputStreamFor (const String &relatedItemPath) override
 Returns a new InputStream to read an item, relative.
 
int64 hashCode () const override
 Returns a hash code that uniquely represents this item.
 
- Public Member Functions inherited from juce::InputSource
virtual ~InputSource ()=default
 Destructor.
 

Detailed Description

An InputSource backed by an AndroidDocument.

See also
InputSource, AndroidDocument

@tags{Core}

Definition at line 34 of file juce_AndroidDocumentInputSource.h.

Constructor & Destructor Documentation

◆ AndroidDocumentInputSource()

juce::AndroidDocumentInputSource::AndroidDocumentInputSource ( const AndroidDocument doc)
explicit

Creates a new AndroidDocumentInputSource, backed by the provided document.

Definition at line 40 of file juce_AndroidDocumentInputSource.h.

Member Function Documentation

◆ createInputStream()

InputStream * juce::AndroidDocumentInputSource::createInputStream ( )
overridevirtual

Returns a new InputStream to read this item.

Returns
an inputstream that the caller will delete, or nullptr if the document can't be opened.

Implements juce::InputSource.

Definition at line 49 of file juce_AndroidDocumentInputSource.h.

◆ createInputStreamFor()

InputStream * juce::AndroidDocumentInputSource::createInputStreamFor ( const String relatedItemPath)
overridevirtual

Returns a new InputStream to read an item, relative.

Parameters
relatedItemPaththe relative pathname of the resource that is required
Returns
an inputstream that the caller will delete, or nullptr if the item isn't found.

Implements juce::InputSource.

Definition at line 63 of file juce_AndroidDocumentInputSource.h.

◆ hashCode()

int64 juce::AndroidDocumentInputSource::hashCode ( ) const
overridevirtual

Returns a hash code that uniquely represents this item.

Implements juce::InputSource.

Definition at line 70 of file juce_AndroidDocumentInputSource.h.


The documentation for this class was generated from the following file: