Suggests using the default stream type. C# Copiar [Android.Runtime.Register("USE_DEFAULT_STREAM_TYPE")] public const int UseDefaultStreamType = -2147483648; Field Value Value = -2147483648 Int32 Attributes RegisterAttribute Remarks Suggests using the default stream type. This may not be ...
public static final int USE_DEFAULT_STREAM_TYPE 建议使用默认的流类型。这可能不适用于所有需要流类型的地方。 常量值: -2147483648 (0x80000000) public static final String VIBRATE_SETTING_CHANGED_ACTION 广播intent,表明振动设置已改变。包括振动类型和其新设置。 参照 EXTRA_VIBRATE_TYPE EXTRA_VIBRATE_SETTING ...
USE_DEFAULT_STREAM_TYPE在这是有效的。 Flags一个或多个标志。 参照 adjustVolume(int, int) adjustStreamVolume(int, int, int) setStreamVolume(int, int, int) public voidadjustVolume(int direction, int flags) 调整最相关流的音量。例如,若在通话中,不管通话屏幕是否显示,它都将拥有最高的 优先级。另一...
USE_DEFAULT_STREAM_TYPE在这是有效的。 Flags一个或多个标志。 参照 adjustVolume(int,int) adjustStreamVolume(int,int,int) setStreamVolume(int,int,int) publicvoidadjustVolume(intdirection,intflags) 调整最相关流的音量。例如,若在通话中,不管通话屏幕是否显示,它都将拥有最高的 优先级。另一个例子,若音乐...
public static final intSTREAM_VOICE_CALL 用于电话的音频流。 常量值: 0 (0x00000000) public static final intUSE_DEFAULT_STREAM_TYPE 建议使用默认的流类型。这可能不适用于所有需要流类型的地方。 常量值: -2147483648 (0x80000000) public static final StringVIBRATE_SETTING_CHANGED_ACTION ...
public static final intSTREAM_VOICE_CALL 用于电话的音频流。 常量值:0 (0x00000000) public static final intUSE_DEFAULT_STREAM_TYPE 建议使用默认的流类型。这可能不适用于所有需要流类型的地方。 常量值:-2147483648 (0x80000000) public static final StringVIBRATE_SETTING_CHANGED_ACTION 广播intent,表明振动设...
suggestedStreamType Stream The stream type that will be used if there isn't a relevant stream. #USE_DEFAULT_STREAM_TYPE is valid here. flags VolumeNotificationFlags flags Attributes RegisterAttribute Remarks Adjusts the volume of the most relevant stream, or the given fallback stream. This ...
USE_DEFAULT_STREAM_TYPE); int device = getDeviceForStream(streamType); int index = mStreamStates[mStreamVolumeAlias[streamType]].getIndex(device); setStreamVolumeInt(mStreamVolumeAlias[streamType], index, device, true, requesterPackage, true /*hasModifyAudioSettings*/); //更新音量值 update...
suggestedStreamType Stream The stream type that will be used if there isn't a relevant stream. #USE_DEFAULT_STREAM_TYPE is valid here. flags VolumeNotificationFlags flags Attributes RegisterAttribute Remarks Adjusts the volume of the most relevant stream, or the given fallback stream. This ...
suggestedStreamType Stream The stream type that will be used if there isn't a relevant stream. #USE_DEFAULT_STREAM_TYPE is valid here. flags VolumeNotificationFlags flags Attributes RegisterAttribute Remarks Adjusts the volume of the most relevant stream, or ...