Skip to content

Commit 551ebfe

Browse files
committed
fix: annotation build warning
1 parent 9c48594 commit 551ebfe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Annotations.java

+5
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ public class Annotations {
902902
Constants.CAPTURE_BRIGHTNESS_LEVEL_BRIGHT,
903903
Constants.CAPTURE_BRIGHTNESS_LEVEL_DARK,
904904
})
905+
@Retention(RetentionPolicy.SOURCE)
905906
public @interface AgoraCaptureBrightnessLevelType {
906907
}
907908

@@ -910,13 +911,15 @@ public class Annotations {
910911
IRtcEngineEventHandler.UploadErrorReason.UPLOAD_NET_ERROR,
911912
IRtcEngineEventHandler.UploadErrorReason.UPLOAD_SERVER_ERROR,
912913
})
914+
@Retention(RetentionPolicy.SOURCE)
913915
public @interface AgoraUploadErrorReason {
914916
}
915917

916918
@IntDef({
917919
IRtcEngineEventHandler.ExperienceQuality.EXPERIENCE_GOOD,
918920
IRtcEngineEventHandler.ExperienceQuality.EXPERIENCE_BAD,
919921
})
922+
@Retention(RetentionPolicy.SOURCE)
920923
public @interface AgoraExperienceQualityType {
921924
}
922925

@@ -927,6 +930,7 @@ public class Annotations {
927930
IRtcEngineEventHandler.ExperiencePoorReason.WIRELESS_SIGNAL_POOR,
928931
IRtcEngineEventHandler.ExperiencePoorReason.WIFI_BLUETOOTH_COEXIST,
929932
})
933+
@Retention(RetentionPolicy.SOURCE)
930934
public @interface AgoraExperiencePoorReason {
931935
}
932936

@@ -936,6 +940,7 @@ public class Annotations {
936940
Constants.SR_STATE_REASON_USER_COUNT_OVER_LIMITATION,
937941
Constants.SR_STATE_REASON_DEVICE_NOT_SUPPORTED,
938942
})
943+
@Retention(RetentionPolicy.SOURCE)
939944
public @interface AgoraSuperResolutionStateReason {
940945
}
941946
}

0 commit comments

Comments
 (0)