Java源码示例:com.linecorp.linesdk.api.LineApiClient

示例1
SendMessageTask(
        LineApiClient lineApiClient,
        List<MessageData> messages,
        @Nullable ApiStatusListener apiStatusListener
) {
    this.lineApiClient = lineApiClient;
    this.messages = messages;
    this.apiStatusListener = apiStatusListener;
}
 
示例2
@NonNull
public static LineApiClient newProxy(@NonNull LineApiClient target) {
    return (LineApiClient) Proxy.newProxyInstance(
            target.getClass().getClassLoader(),
            new Class[]{LineApiClient.class},
            new TokenAutoRefreshInvocationHandler(target));
}
 
示例3
public GetTargetUserTask(TargetUser.Type type, LineApiClient lineApiClient, NextAction action) {
    this.type = type;
    this.lineApiClient = lineApiClient;
    this.nextAction = action;
}
 
示例4
SendMessageTask(LineApiClient lineApiClient, List<MessageData> messageDataList) {
    this(lineApiClient, messageDataList, null);
}
 
示例5
public SendMessagePresenter(LineApiClient lineApiClient, SendMessageContract.View view) {
    this.lineApiClient = lineApiClient;
    this.view = view;
}
 
示例6
public SendMessageDialog(@NonNull Context context, @NonNull LineApiClient lineApiClient) {
    super(context, R.style.DialogTheme);
    presenter = new SendMessagePresenter(lineApiClient, this);
    sendMessageTargetAdapter = new SendMessageTargetPagerAdapter(context, presenter, presenter);
}
 
示例7
private TokenAutoRefreshInvocationHandler(@NonNull LineApiClient target) {
    this.target = target;
    autoRefreshStateCache = new ConcurrentHashMap<>(0);
}