Compartilhar via


AudioRecord.SetNotificationMarkerPosition(Int32) Method

Definition

Sets the marker position at which the listener is called, if set with #setRecordPositionUpdateListener(OnRecordPositionUpdateListener) or #setRecordPositionUpdateListener(OnRecordPositionUpdateListener, Handler).

[Android.Runtime.Register("setNotificationMarkerPosition", "(I)I", "GetSetNotificationMarkerPosition_IHandler")]
public virtual Android.Media.RecordStatus SetNotificationMarkerPosition (int markerInFrames);
[<Android.Runtime.Register("setNotificationMarkerPosition", "(I)I", "GetSetNotificationMarkerPosition_IHandler")>]
abstract member SetNotificationMarkerPosition : int -> Android.Media.RecordStatus
override this.SetNotificationMarkerPosition : int -> Android.Media.RecordStatus

Parameters

markerInFrames
Int32

marker position expressed in frames

Returns

error code or success, see #SUCCESS, #ERROR_BAD_VALUE, #ERROR_INVALID_OPERATION

Attributes

Remarks

Sets the marker position at which the listener is called, if set with #setRecordPositionUpdateListener(OnRecordPositionUpdateListener) or #setRecordPositionUpdateListener(OnRecordPositionUpdateListener, Handler).

Java documentation for android.media.AudioRecord.setNotificationMarkerPosition(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