Lines Matching refs:handler
245 * handler is changed, undelivered notifications scheduled for the old handler may be dropped.
250 * @param handler The Handler that will run the callback. Use {@code null} to use MediaSync's
251 * internal handler if it exists.
253 public void setCallback(@Nullable /* MediaSync. */ Callback cb, @Nullable Handler handler) {
255 if (handler != null) {
256 mCallbackHandler = handler;
277 * handler is changed, undelivered notifications scheduled for the old handler may be dropped.
282 * @param handler The Handler that will run the callback. Use {@code null} to use MediaSync's
283 * internal handler if it exists.
286 @Nullable Handler handler) {
288 if (handler != null) {
289 mOnErrorListenerHandler = handler;
591 // callback handler has been changed.