Class FileMonitor
public class FileMonitor
- Inheritance
-
FileMonitor
- Inherited Members
Methods
Cancel(IntPtr)
Calls native method g_file_monitor_cancel.
public static extern bool Cancel(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
EmitEvent(IntPtr, IntPtr, IntPtr, FileMonitorEvent)
Calls native method g_file_monitor_emit_event.
public static extern void EmitEvent(IntPtr monitor, IntPtr child, IntPtr otherFile, FileMonitorEvent eventType)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
otherFile
IntPtrTransfer ownership: None Nullable: False
eventType
FileMonitorEventTransfer ownership: None Nullable: False
GetGType()
Calls native function g_file_monitor_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
IsCancelled(IntPtr)
Calls native method g_file_monitor_is_cancelled.
public static extern bool IsCancelled(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetRateLimit(IntPtr, int)
Calls native method g_file_monitor_set_rate_limit.
public static extern void SetRateLimit(IntPtr monitor, int limitMsecs)