public final class RemotePrintDocument extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
RemotePrintDocument.RemoteAdapterDeathObserver |
static class |
RemotePrintDocument.RemotePrintDocumentInfo |
static interface |
RemotePrintDocument.UpdateResultCallbacks |
Constructor and Description |
---|
RemotePrintDocument(Context context,
IPrintDocumentAdapter adapter,
MutexFileProvider fileProvider,
RemotePrintDocument.RemoteAdapterDeathObserver deathObserver,
RemotePrintDocument.UpdateResultCallbacks callbacks) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean force) |
void |
clearUpdateError() |
void |
destroy() |
void |
finish() |
RemotePrintDocument.RemotePrintDocumentInfo |
getDocumentInfo() |
boolean |
hasLaidOutPages() |
boolean |
hasUpdateError() |
boolean |
isDestroyed() |
boolean |
isUpdating() |
void |
kill(String reason) |
void |
start() |
boolean |
update(PrintAttributes attributes,
PageRange[] pages,
boolean preview) |
void |
writeContent(ContentResolver contentResolver,
Uri uri) |
public RemotePrintDocument(Context context, IPrintDocumentAdapter adapter, MutexFileProvider fileProvider, RemotePrintDocument.RemoteAdapterDeathObserver deathObserver, RemotePrintDocument.UpdateResultCallbacks callbacks)
public void start()
public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview)
public void finish()
public void cancel(boolean force)
public void destroy()
public void kill(String reason)
public boolean isUpdating()
public boolean isDestroyed()
public boolean hasUpdateError()
public boolean hasLaidOutPages()
public void clearUpdateError()
public RemotePrintDocument.RemotePrintDocumentInfo getDocumentInfo()
public void writeContent(ContentResolver contentResolver, Uri uri)