Method | Description | |
---|---|---|
AbortProcess ( ) : void |
Terminate the process after a fatal error.
|
|
Create ( |
Create the library instance. Only one instance per process is allowed. This must be called before any other library function. |
|
Dispose ( ) : void | ||
Free ( |
Free memory returned by native code
|
|
NotifyResumed ( ) : void |
Inform the library that the application has been resumed This is necessary if the application may have been paused while other processes on a device continued to be executed (e.g. when an app moves to background on iOS). It is typically not necessary to call this when the host device resumes from hibernation. |
|
NotifySuspended ( ) : void |
Inform the library that the application has been suspended. This is necessary if the application may be paused while other processes on a device continued to be executed (e.g. when an app moves to background on iOS). It is typically not necessary to call this when the host device hibernates. |
|
RefreshNetworkAdapterList ( ) : void |
Force a refresh of the library's list of available network adapters This should only be required on platforms that are not capable of automatically detecting adapter changes. |
|
SetCurrentSubnet ( |
Set which subnet the library should use Device lists and subscriptions will be automatically updated. No other subnet will be selected if aSubnet is not available |
|
SetDebugLevel ( DebugLevel aLevel ) : void |
Set the level (if any) of debug logging. Log messages will be passed to the callback registered in InitParams.LogOutput. |
|
StartCombined ( uint aSubnet ) : |
Start the library as both UPnP control point and device stacks
|
|
StartCp ( uint aSubnet ) : |
Start the library as a UPnP control point stack
|
|
StartDv ( ) : |
Start the library as a UPnP device stack
|
Method | Description | |
---|---|---|
CheckStartupError ( uint aError ) : void | ||
FreeMemory ( |
||
Initialise ( |
||
Library ( |
||
OhNetAbortProcess ( ) : void | ||
OhNetDebugSetLevel ( uint aLevel ) : void | ||
OhNetFree ( |
||
OhNetInitParamsSetFreeExternalCallback ( |
||
OhNetLibraryClose ( ) : void | ||
OhNetLibraryInitialise ( |
||
OhNetLibraryInitialiseMinimal ( |
||
OhNetLibraryNotifyResumed ( ) : void | ||
OhNetLibraryNotifySuspended ( ) : void | ||
OhNetLibraryStartCombined ( uint aSubnet ) : uint | ||
OhNetLibraryStartCp ( uint aSubnet ) : uint | ||
OhNetLibraryStartDv ( ) : uint | ||
OhNetRefreshNetworkAdapterList ( ) : void | ||
OhNetSetCurrentSubnet ( uint aSubnet ) : void |
public static Create ( |
||
aParams | ||
return |
public static Free ( |
||
aPtr | IntPtr returned by native code which is documented as requiring explicit destruction | |
return | void |
public SetCurrentSubnet ( |
||
aSubnet | Handle returned by SubnetAt() | |
return | void |
public static SetDebugLevel ( DebugLevel aLevel ) : void | ||
aLevel | DebugLevel | Bit(s) specifying which debug levels to enable |
return | void |
public StartCombined ( uint aSubnet ) : |
||
aSubnet | uint | |
return |
public StartCp ( uint aSubnet ) : |
||
aSubnet | uint | |
return |