TWSAttachment

@JsonClass(generateAdapter = true)
data class TWSAttachment(val url: String, val contentType: TWSAttachmentType) : Parcelable

Represents a dynamic resource that can be injected into a WebView.

Parameters

url

The URL of the resource to inject.

contentType

The type of resource, such as CSS or JavaScript.

Constructors

Link copied to clipboard
constructor(url: String, contentType: TWSAttachmentType)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String