mirror of
https://github.com/czp3009/bilibili-api.git
synced 2024-12-21 20:30:28 +08:00
typo
This commit is contained in:
parent
7412f6a862
commit
edeeb4b295
@ -1,5 +1,5 @@
|
||||
group = 'com.hiczp'
|
||||
version = '0.0.14'
|
||||
version = '0.0.15'
|
||||
description = 'Bilibili android client API library written in Java'
|
||||
|
||||
apply plugin: 'idea'
|
||||
|
@ -24,6 +24,7 @@ import retrofit2.Call;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
@ -180,11 +181,21 @@ public class LiveClient {
|
||||
return this;
|
||||
}
|
||||
|
||||
public LiveClient unregisterListeners(@Nonnull Object object) {
|
||||
public LiveClient registerListeners(@Nonnull List<Object> objects) {
|
||||
objects.forEach(eventBus::register);
|
||||
return this;
|
||||
}
|
||||
|
||||
public LiveClient unregisterListener(@Nonnull Object object) {
|
||||
eventBus.unregister(object);
|
||||
return this;
|
||||
}
|
||||
|
||||
public LiveClient unregisterListeners(@Nonnull List<Object> objects) {
|
||||
objects.forEach(eventBus::unregister);
|
||||
return this;
|
||||
}
|
||||
|
||||
//TODO 弹幕发送队列
|
||||
|
||||
public Call<SendBulletScreenResponseEntity> sendBulletScreenAsync(@Nonnull String message) {
|
||||
|
Loading…
Reference in New Issue
Block a user