@FunctionalInterface public interface ContentStreamProvider
Each call to to the newStream()
method must result in a stream whose position is at the beginning of the content.
Implementations may return a new stream or the same stream for each call. If returning a new stream, the implementation
must ensure to close()
and free any resources acquired by the previous stream. The last stream returned by newStream()
} will be closed by the SDK.
Modifier and Type | Method and Description |
---|---|
InputStream |
newStream() |
InputStream newStream()
Copyright © 2020. All rights reserved.