AudioManager.GetAudioHwSyncForSession(Int32) Method

Definition

Retrieves the Hardware A/V synchronization ID corresponding to the given audio session ID.

[Android.Runtime.Register("getAudioHwSyncForSession", "(I)I", "GetGetAudioHwSyncForSession_IHandler", ApiSince=31)]
public virtual int GetAudioHwSyncForSession (int sessionId);
[<Android.Runtime.Register("getAudioHwSyncForSession", "(I)I", "GetGetAudioHwSyncForSession_IHandler", ApiSince=31)>]
abstract member GetAudioHwSyncForSession : int -> int
override this.GetAudioHwSyncForSession : int -> int

Parameters

sessionId
Int32

the audio session ID for which the HW A/V sync ID is retrieved.

Returns

the HW A/V sync ID for this audio session (an integer different from 0).

Attributes

Remarks

Retrieves the Hardware A/V synchronization ID corresponding to the given audio session ID. For more details on Hardware A/V synchronization please refer to media tunneling documentation.

Java documentation for android.media.AudioManager.getAudioHwSyncForSession(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