setVisibleCategories

fun setVisibleCategories(    categories: List<PlaceCategoryGroupVisibility>,     listener: SetVisibleCategoriesListener,     executor: Executor? = null)

Set visibility preference for retrieved place categories.

Parameters

categories

List of type PlaceCategoryGroupVisibilitys, which are to be set.

listener

Listener SetVisibleCategoriesListener, which will be called after the operation is done.

executor

Optional executor, on which the callback listener shall be called.