Gets or sets a user-agent string.

Syntax

PHP

public function getUserAgent() {
}

public function setUserAgent($value) {
}

Property Value

Type: string

The user-agent string which is sent by Image Uploader in the header of the upload request.

Default value is "".

Remarks

Note

During initialization, this value is set to the user-agent string of a browser which hosts Image Uploader.