This commit is contained in:
2026-07-14 11:50:00 +08:00
parent 819fe5f360
commit c1b765d27b
25 changed files with 45 additions and 50 deletions
@@ -1987,6 +1987,8 @@ static ALUnityBackgroundCallback backgroundCallback;
- (NSString *)requestLatencyMillisFromRequestLatency:(NSTimeInterval)requestLatency
{
if ( requestLatency == -1 ) return @"-1";
// Convert latency from seconds to milliseconds to match Android.
long requestLatencyMillis = requestLatency * 1000;
return @(requestLatencyMillis).stringValue;