setProperty abstract method

Future<V2TXLiveCode> setProperty(
  1. String key,
  2. Object value
)

Call the high-level API interface of V2TXLivePlayer

Parameter:

key The key corresponding to the high-level API

value When calling the high-level API corresponding to the key, the parameter required is a base type or jsonString

Return:

  • V2TXLIVE_OK: Succeed
  • V2TXLIVE_ERROR_INVALID_PARAMETER: If the operation fails, the key is not allowed to be null

Implementation

Future<V2TXLiveCode> setProperty(String key, Object value);