CallAudioState(Boolean, CallAudioRoute, CallAudioRoute) Constructor
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.
Constructor for a CallAudioState
object.
[Android.Runtime.Register(".ctor", "(ZII)V", "", ApiSince=23)]
public CallAudioState (bool muted, Android.Telecom.CallAudioRoute route, Android.Telecom.CallAudioRoute supportedRouteMask);
[<Android.Runtime.Register(".ctor", "(ZII)V", "", ApiSince=23)>]
new Android.Telecom.CallAudioState : bool * Android.Telecom.CallAudioRoute * Android.Telecom.CallAudioRoute -> Android.Telecom.CallAudioState
Parameters
- muted
- Boolean
true
if the call is muted, false
otherwise.
- route
- CallAudioRoute
The current audio route being used.
Allowed values:
#ROUTE_EARPIECE
#ROUTE_BLUETOOTH
#ROUTE_WIRED_HEADSET
#ROUTE_SPEAKER
- supportedRouteMask
- CallAudioRoute
Bit mask of all routes supported by this call. This should be a
bitwise combination of the following values:
#ROUTE_EARPIECE
#ROUTE_BLUETOOTH
#ROUTE_WIRED_HEADSET
#ROUTE_SPEAKER
- Attributes
Remarks
Constructor for a CallAudioState
object.
Java documentation for android.telecom.CallAudioState.CallAudioState(boolean, int, int)
.
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.