Skip to content

Commit

Permalink
fix: annotation build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Jan 28, 2021
1 parent 9c48594 commit 551ebfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Annotations.java
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,7 @@ public class Annotations {
Constants.CAPTURE_BRIGHTNESS_LEVEL_BRIGHT,
Constants.CAPTURE_BRIGHTNESS_LEVEL_DARK,
})
@Retention(RetentionPolicy.SOURCE)
public @interface AgoraCaptureBrightnessLevelType {
}

Expand All @@ -910,13 +911,15 @@ public class Annotations {
IRtcEngineEventHandler.UploadErrorReason.UPLOAD_NET_ERROR,
IRtcEngineEventHandler.UploadErrorReason.UPLOAD_SERVER_ERROR,
})
@Retention(RetentionPolicy.SOURCE)
public @interface AgoraUploadErrorReason {
}

@IntDef({
IRtcEngineEventHandler.ExperienceQuality.EXPERIENCE_GOOD,
IRtcEngineEventHandler.ExperienceQuality.EXPERIENCE_BAD,
})
@Retention(RetentionPolicy.SOURCE)
public @interface AgoraExperienceQualityType {
}

Expand All @@ -927,6 +930,7 @@ public class Annotations {
IRtcEngineEventHandler.ExperiencePoorReason.WIRELESS_SIGNAL_POOR,
IRtcEngineEventHandler.ExperiencePoorReason.WIFI_BLUETOOTH_COEXIST,
})
@Retention(RetentionPolicy.SOURCE)
public @interface AgoraExperiencePoorReason {
}

Expand All @@ -936,6 +940,7 @@ public class Annotations {
Constants.SR_STATE_REASON_USER_COUNT_OVER_LIMITATION,
Constants.SR_STATE_REASON_DEVICE_NOT_SUPPORTED,
})
@Retention(RetentionPolicy.SOURCE)
public @interface AgoraSuperResolutionStateReason {
}
}

0 comments on commit 551ebfe

Please sign in to comment.