AsynchronousSocketChannel

AsynchronousSocketChannel

我如何在Android中使用AsynchronousSocketChannel我无法导入

import java.nio.channels.AsynchronousSocketChannel;
import java.nio.channels.CompletionHandler;

最佳答案

仅从26 API(proof)中可用。确保您的最低SDK> = 26

10-07 19:16