Package io.scanbot.sdk.imagefilters
Class LegacyFilter
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class LegacyFilter extends ParametricFilter implements Parcelable
Deprecated image filters.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private Integer
filterType
-
Constructor Summary
Constructors Constructor Description LegacyFilter(Map<String, Object> source)
LegacyFilter(JSONObject json)
LegacyFilter(Integer filterType)
-
Method Summary
Modifier and Type Method Description String
get_type()
final Integer
getFilterType()
Id of filter to be applied. final Unit
setFilterType(Integer filterType)
Id of filter to be applied. JSONObject
toJson()
final static LegacyFilter
default()
-
-
Constructor Detail
-
LegacyFilter
LegacyFilter(JSONObject json)
-
LegacyFilter
LegacyFilter(Integer filterType)
-
-
Method Detail
-
getFilterType
final Integer getFilterType()
Id of filter to be applied. Default is 0
-
setFilterType
final Unit setFilterType(Integer filterType)
Id of filter to be applied. Default is 0
-
toJson
JSONObject toJson()
-
default
final static LegacyFilter default()
-
-
-
-