Gets or sets a user-agent string.
$au.uploader({Get/Set Value at Runtime
metadata: {
//...other params...
userAgent: navigator.userAgent,
//...other params...
}
})
$au.uploader('uploaderID').metadata().userAgent(value);
value = $au.uploader('uploaderID').metadata().userAgent();
Type: String
The user-agent string which is sent by Image Uploader in the header of the upload request.
Default value is navigator.userAgent.
During initialization, this value is set to the user-agent string of a browser which hosts Image Uploader.