Agora RTC Objective-C API Reference Refactor

AgoraBaseSpatialAudioKit Class Reference

Inherits <NSObject>.

Inherited by AgoraLocalSpatialAudioKit.

## Method Documentation

## ◆ setMaxAudioRecvCount:

- (int) setMaxAudioRecvCount: |  | (NSUInteger) | maxCount |

## ◆ setAudioRecvRange:

- (int) setAudioRecvRange: |  | (float) | range |

## ◆ setDistanceUnit:

- (int) setDistanceUnit: |  | (float) | unit |

## ◆ updatePlayerPositionInfo:positionInfo:

- (int) updatePlayerPositionInfo: |  | (NSInteger) | playerId
positionInfo: |  | (AgoraRemoteVoicePositionInfo *_Nonnull) | positionInfo

## ◆ updateSelfPosition:axisForward:axisRight:axisUp:

- (int) updateSelfPosition: |  | (NSArray< NSNumber * > *_Nonnull) | position
axisForward: |  | (NSArray< NSNumber * > *_Nonnull) | axisForward
axisRight: |  | (NSArray< NSNumber * > *_Nonnull) | axisRight
axisUp: |  | (NSArray< NSNumber * > *_Nonnull) | axisUp

## ◆ updateSelfPositionEx:axisForward:axisRight:axisUp:connection:

- (int) updateSelfPositionEx: |  | (NSArray< NSNumber * > *_Nonnull) | position
axisForward: |  | (NSArray< NSNumber * > *_Nonnull) | axisForward
axisRight: |  | (NSArray< NSNumber * > *_Nonnull) | axisRight
axisUp: |  | (NSArray< NSNumber * > *_Nonnull) | axisUp
connection: |  | (AgoraRtcConnection *_Nonnull) | connection

## ◆ setZones:

- (int) setZones: |  | (NSArray< AgoraSpatialAudioZone * > *_Nullable) | zones |

## ◆ setPlayerAttenuation:playerId:forceSet:

- (int) setPlayerAttenuation: |  | (double) | attenuation
playerId: |  | (NSUInteger) | playerId
forceSet: |  | (BOOL) | forceSet