- change method name from onMapping, to mappings

This commit is contained in:
jacek.wolniewicz
2024-07-04 00:00:26 +02:00
parent 2dbe81278c
commit 36475c2cf6
6 changed files with 18 additions and 29 deletions

View File

@@ -65,7 +65,7 @@ public class TikTokLiveClientBuilder implements LiveClientBuilder {
this.onCustomDependencies = new ArrayList<>();
}
public LiveClientBuilder onMapping(Consumer<LiveMapper> consumer) {
public LiveClientBuilder mappings(Consumer<LiveMapper> consumer) {
this.onCustomMappings.add(consumer);
return this;
}