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_typeprivate IntegerfilterType
-
Constructor Summary
Constructors Constructor Description LegacyFilter(Map<String, Object> source)LegacyFilter(JSONObject json)LegacyFilter(Integer filterType)
-
Method Summary
Modifier and Type Method Description Stringget_type()final IntegergetFilterType()Id of filter to be applied. final UnitsetFilterType(Integer filterType)Id of filter to be applied. JSONObjecttoJson(ToJsonConfiguration config)LegacyFilterclone()final static LegacyFilterdefault()-
-
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(ToJsonConfiguration config)
-
clone
LegacyFilter clone()
-
default
final static LegacyFilter default()
-
-
-
-