BluetoothServerSocket.Close 메서드

정의

이 소켓을 즉시 닫고 연결된 모든 리소스를 해제합니다.

[Android.Runtime.Register("close", "()V", "")]
public void Close();
[<Android.Runtime.Register("close", "()V", "")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

구현

특성

예외

설명

이 소켓을 즉시 닫고 연결된 모든 리소스를 해제합니다.

다른 스레드에서 이 소켓에 대한 차단된 호출이 즉시 IOException을 throw하도록 합니다.

에서 BluetoothServerSocket><받은 #accept()모든 BluetoothSocket 것을 닫지 않고>< 닫습니다.

에 대한 android.bluetooth.BluetoothServerSocket.close()Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상