Skip to content

Commit 1d0eb5e

Browse files
committed
fix(Visual Recognition V3): Made acceptLanguage in DetectFaces optional
1 parent 9e7ede7 commit 1d0eb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Services/VisualRecognition/v3/VisualRecognition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ public bool DetectFaces(string url, SuccessCallback<DetectedFaces> successCallba
472472
/// <param name="acceptLanguage">The language used for the value of `gender_label` in the response. (optional,
473473
/// default to en)</param>
474474
/// <param name="customData">Custom data.</param>
475-
public bool DetectFaces(SuccessCallback<DetectedFaces> successCallback, FailCallback failCallback, string imagePath, string acceptLanguage, Dictionary<string, object> customData = null)
475+
public bool DetectFaces(SuccessCallback<DetectedFaces> successCallback, FailCallback failCallback, string imagePath, string acceptLanguage = null, Dictionary<string, object> customData = null)
476476
{
477477
if (successCallback == null)
478478
throw new ArgumentNullException("successCallback");

0 commit comments

Comments
 (0)