# setGreen (/zh-CN/api-reference/rtc/android/api-livetranscoding-setgreen) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```java public void setGreen(int green) ``` :::error[废弃] 该方法已废弃。 ::: ## 参数 [#参数] 绿色分量的值。 ### 所属接口类 [#所属接口类] - [LiveTranscoding](/zh-CN/api-reference/rtc/android/class-livetranscoding)