Table of contents

ProactiveImageSourceAdapter

The ProactiveImageSourceAdapter class is an abstract base class that extends the ImageSourceAdapter class. It provides an interface for proactively fetching images in a separate thread.

Definition

Namespace: com.dynamsoft.utility

Assembly: DynamsoftUtility.aar

abstract class ProactiveImageSourceAdapter extends ImageSourceAdapter

Methods

Method Description
setImageFetchInterval Sets the time interval for the ImageSource to wait before attempting to fetch another image to put in the buffer.
getImageFetchInterval Gets the time interval for the ImageSource to wait before attempting to fetch another image to put in the buffer.

setImageFetchInterval

Sets the time interval for the ImageSource to wait before attempting to fetch another image to put in the buffer.

void setImageFetchInterval(int milliseconds);

Parameters

[in] milliseconds: The time interval in milliseconds.

getImageFetchInterval

Gets the time interval for the ImageSource to wait before attempting to fetch another image to put in the buffer.

int getImageFetchInterval();

Return Value

The time interval in milliseconds.

Is this page helpful?

YesYes NoNo

In this article: