RemotePostDataElement

Constructors

Link copied to clipboard
constructor(postDataElement: PostDataElement)

Functions

Link copied to clipboard
Create a new CefPostDataElement object.
Link copied to clipboard
open fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
open fun getBytes(size: Int, bytes: Array<Byte>): Int
Read up to size bytes into bytes and return the number of bytes actually read.
Link copied to clipboard
open fun getBytesCount(): Int
Return the number of bytes.
Link copied to clipboard
open fun getFile(): String
Return the file name.
Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
Return the type of this post data element.
Link copied to clipboard
open fun isReadOnly(): Boolean
Returns true if this object is read-only.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.
Link copied to clipboard
open fun setToBytes(size: Int, bytes: Array<Byte>)
The post data element will represent bytes.
Link copied to clipboard
open fun setToEmpty()
Remove all contents from the post data element.
Link copied to clipboard
open fun setToFile(fileName: String)
The post data element will represent a file.
Link copied to clipboard
open fun toString(): String
open fun toString(mimeType: String): String