Language
Single tool use
When you want customers to perform only one action on the photo and skip the main menu, you can use the single tool mode in PhotoEditor SDK.
Single tool mode supported tools are Transform
, Filters
, Adjustments
,
Focus
, Overlays
, and Brush
.
To open the editor in single tool mode, two conditions need to be satisfied -
UiConfigMainMenu.singleToolUse
should betrue
UiConfigMainMenu.toolList
should contain only one supported tool
Configuration#
The default value of UiConfigMainMenu.singleToolUse
is true
.
Here, we use UiConfigMainMenu.setToolList()
and add a single tool. Make sure to only include a tool that is included in your license.