AudioTrack.SetNotificationMarkerPosition(Int32) AudioTrack.SetNotificationMarkerPosition(Int32) Method

Definition

Sets the position of the notification marker.

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

Parameters

markerInFrames
Int32 Int32

marker position in wrapping frame units similar to PlaybackHeadPosition, or zero to disable the marker. To set a marker at a position which would appear as zero due to wraparound, a workaround is to use a non-zero position near zero, such as -1 or 1.

Returns

Remarks

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