updateUserAvailability

open fun updateUserAvailability(    @NonNull context: Context,     userAvailabilityValue: Int,     @Nullable callback: STWOperationCallback<STWAccountSettingsError>)

Call this method to change the user availability

See also

Parameters

context

Context:The application context

userAvailabilityValue

Integerthe user availability value to send, value that can be :

  • UNKNOWN = -1
  • AVAILABLE = 0
  • BUSY = 1
callback

STWOperationCallback:

To handle operation result :

  • 1- success
  • 2- error