setData abstract method

void setData(
  1. ByteBuffer data
)

Updates all data. This method works synchronously and blocks UI thread. It is intended for passing not more than 500kB of data; otherwise, it will affect the responsiveness of UI and map.

Implementation

void setData(typed_data.ByteBuffer data);