Class IOImp
Implementation (platform dependent) for IO related functionality not supported by portable libraries.
Inheritance
System.Object
IOImp
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Base.Imp.Android
Assembly: Fusee.Base.Imp.Android.dll
Syntax
public class IOImp : IIOImp
Constructors
IOImp(Context)
Android implementation for IO related functionality.
Declaration
public IOImp(Context androidContext)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | androidContext |
Methods
StreamFromFile(String, FileMode)
Opens a file and returns its contents as a System.IO.Stream.
Declaration
public Stream StreamFromFile(string path, FileMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the file to open. |
FileMode | mode | The file mode (read, write, append). |
Returns
Type | Description |
---|---|
System.IO.Stream | The stream specified by path. |