次の方法で共有


CallAudioState(Boolean, CallAudioRoute, CallAudioRoute) Constructor

Definition

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.

Applies to