When you have completed your audio playback, you may choose to abandon dịch - When you have completed your audio playback, you may choose to abandon Việt làm thế nào để nói

When you have completed your audio

When you have completed your audio playback, you may choose to abandon the audio focus, as shown in Listing 15-13.
Typically, this is only necessary when your application takes only transient audio focus. In the case of a media player, it is reasonable to maintain the audio focus whenever the music is playing or your Activity is in the foreground.
Pausing Playback When the Output Changes
If the current output stream is an attached headset, disconnecting it will result in the system automatically switching output to the device’s speakers. It’s considered good practice to pause (or reduce the volume of) your audio output in these circumstances.
To do so, create a Broadcast Receiver that listens for the AudioManager. action_audio_becoming_ noisy broadcast and pauses your playback, as shown in Listing 15-14.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
When you have completed your audio playback, you may choose to abandon the audio focus, as shown in Listing 15-13. Typically, this is only necessary when your application takes only transient audio focus. In the case of a media player, it is reasonable to maintain the audio focus whenever the music is playing or your Activity is in the foreground.Pausing Playback When the Output ChangesIf the current output stream is an attached headset, disconnecting it will result in the system automatically switching output to the device’s speakers. It’s considered good practice to pause (or reduce the volume of) your audio output in these circumstances.To do so, create a Broadcast Receiver that listens for the AudioManager. action_audio_becoming_ noisy broadcast and pauses your playback, as shown in Listing 15-14.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Khi bạn đã hoàn thành phát lại âm thanh của bạn, bạn có thể chọn để từ bỏ tập trung âm thanh, như thể hiện trong Liệt kê 15-13.
Thông thường, điều này chỉ cần thiết khi ứng dụng của bạn mất tập trung âm thanh chỉ thoáng qua. Trong trường hợp của một máy nghe nhạc phương tiện truyền thông, nó là hợp lý để duy trì sự tập trung âm thanh khi âm nhạc được chơi hoặc hoạt động của bạn là ở phía trước.
Tạm dừng Playback Khi thay đổi Output
Nếu dòng đầu ra hiện nay là một tai nghe kèm theo, ngắt kết nối nó sẽ cho kết quả hệ thống tự động chuyển đổi đầu ra loa của thiết bị. Nó được coi là thực hành tốt để tạm dừng (hoặc giảm khối lượng) sản lượng âm thanh của bạn trong những trường hợp này.
Để làm như vậy, tạo ra một nhận Broadcast mà nghe cho AudioManager. action_audio_becoming_ phát sóng ồn ào và tạm dừng phát lại của bạn, như thể hiện trong Liệt kê 15-14.
đ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: