Struct FormFile
- Inherited Members
-
- Extension Methods
-
Constructors
public FormFile(AudioClip audioClip, string fileName, MIMEType contentType = MIMEType.Json)
Parameters
audioClip AudioClip
fileName string
contentType MIMEType
public FormFile(Sprite sprite, string fileName, MIMEType contentType = MIMEType.Json)
Parameters
sprite Sprite
fileName string
contentType MIMEType
public FormFile(byte[] data, string fileName, MIMEType contentType = MIMEType.Json)
Parameters
data byte[]
fileName string
contentType MIMEType
public FormFile(string filePath, MIMEType contentType = MIMEType.Json)
Parameters
filePath string
contentType MIMEType
public FormFile(string filePath, string fileName, MIMEType contentType = MIMEType.Json)
Parameters
filePath string
fileName string
contentType MIMEType
FormFile(Texture2D, string, MIMEType)
public FormFile(Texture2D texture, string fileName, MIMEType contentType = MIMEType.Json)
Parameters
texture Texture2D
fileName string
contentType MIMEType
Properties
ContentType
public MIMEType ContentType { readonly get; set; }
Property Value
- MIMEType
public byte[] Data { readonly get; set; }
Property Value
- byte[]
public string FileName { readonly get; set; }
Property Value
- string
public readonly bool IsEmpty { get; }
Property Value
- bool