MediaQualityManager.GetSoundProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets sound profile by given profile type and name.
[Android.Runtime.Register("getSoundProfile", "(ILjava/lang/String;Landroid/media/quality/MediaQualityManager$ProfileQueryParams;)Landroid/media/quality/SoundProfile;", "", ApiSince=36)]
public Android.Media.Quality.SoundProfile? GetSoundProfile(Android.Media.Quality.SoundProfileType type, string name, Android.Media.Quality.MediaQualityManager.ProfileQueryParams? options);
[<Android.Runtime.Register("getSoundProfile", "(ILjava/lang/String;Landroid/media/quality/MediaQualityManager$ProfileQueryParams;)Landroid/media/quality/SoundProfile;", "", ApiSince=36)>]
member this.GetSoundProfile : Android.Media.Quality.SoundProfileType * string * Android.Media.Quality.MediaQualityManager.ProfileQueryParams -> Android.Media.Quality.SoundProfile
Parameters
- type
- SoundProfileType
the type of the profile. Value is one of the following: SoundProfile.TYPE_SYSTEM; SoundProfile.TYPE_APPLICATION
- name
- String
the name of the profile. This value cannot be null.
the options of the query. null if default options are used.
Returns
the corresponding sound profile if available; null if the name doesn't exist.
- Attributes
Remarks
Gets sound profile by given profile type and name.
If ProfileQueryParams.areParametersIncluded() is false, SoundProfile.getParameters() of the returned profile is an empty bundle.
Android reference for android.media.quality.MediaQualityManager.getSoundProfile.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.