publicWearable.WearableOptions.Builder()

Public Methods

WearableOptions options = new WearableOptions.Builder().setLooper(myLooper).build();
DataClient dataClient = Wearable.getDataClient(context, options);
// All callbacks to dataClient.OnDataChangedListener will now be made on myLooper.