If an incoming connection request is successful, accept will return a  dịch - If an incoming connection request is successful, accept will return a  Việt làm thế nào để nói

If an incoming connection request i

If an incoming connection request is successful, accept will return a Bluetooth Socket connected to the client device. You can use this socket to transfer data, as shown later in this section.
Note that accept is a blocking operation, so it’s best practice to listen for incoming connection requests on a background thread rather than block the UI thread until a connection has been made.
It’s also important to note that your Bluetooth Adapter must be discoverable for remote Bluetooth Devices to connect to it. Listing 16-6 shows some typical skeleton code that uses the action_ request_discoverable broadcast to request that the device be made discoverable, before listening for incoming connection requests for the returned discoverability duration.


0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
If an incoming connection request is successful, accept will return a Bluetooth Socket connected to the client device. You can use this socket to transfer data, as shown later in this section.Note that accept is a blocking operation, so it’s best practice to listen for incoming connection requests on a background thread rather than block the UI thread until a connection has been made. It’s also important to note that your Bluetooth Adapter must be discoverable for remote Bluetooth Devices to connect to it. Listing 16-6 shows some typical skeleton code that uses the action_ request_discoverable broadcast to request that the device be made discoverable, before listening for incoming connection requests for the returned discoverability duration.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Nếu một yêu cầu kết nối thành công, chấp nhận sẽ trở lại một Socket Bluetooth kết nối với các thiết bị của khách hàng. Bạn có thể sử dụng ổ cắm này để truyền dữ liệu, như sau trong phần này.
Lưu ý rằng chấp nhận là một hoạt động ngăn chặn, do đó, nó thực hành tốt nhất để lắng nghe yêu cầu kết nối đến trên một sợi nền hơn là ngăn chặn các chủ đề giao diện cho đến khi một kết nối đã được thực hiện .
nó cũng quan trọng cần lưu ý rằng adapter Bluetooth của bạn phải được phát hiện cho từ xa các thiết bị Bluetooth để kết nối với nó. Bảng liệt kê 16-6 cho thấy một số mã bộ xương điển hình có sử dụng phát sóng request_discoverable action_ để yêu cầu các thiết bị được phát hiện, trước khi lắng nghe các yêu cầu kết nối đến trong thời gian khám phá trở lại.


đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: