Definition
- Namespace:
- Tizen.Applications.Cion
- Assembly:
- Tizen.Applications.Cion.dll
- API Level:
- 9
A class to represent file type payload.
public class FilePayload : Payload
- Inheritance
-
Constructors
View Source
FilePayload(String)
The constructor of FilePayload class.
Declaration
public FilePayload(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path of file for the FilePayload.
|
API Level: 9
Properties
Declaration
public override PayloadType PayloadType { get; }
Property Value
Overrides
API Level: 9
Declaration
public UInt64 ReceivedBytes { get; }
Property Value
API Level: 9
View Source
ReceivedFileName
Gets the name of received file.
Declaration
public string ReceivedFileName { get; }
Property Value
API Level: 9
Declaration
public UInt64 TotalBytes { get; }
Property Value
API Level: 9
Methods
View Source
SaveAsFile(String)
Saves file of payload to speicific path.
Declaration
public void SaveAsFile(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path of file to save.
|
API Level: 9
Extension Methods