update

Updates the given personal location with the new types.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

True if the location was updated, false if the location was not found.

Parameters

location

The personal location to update.

types

The new types for the personal location. Is required to be non-empty, otherwise the method throws an IllegalArgumentException.