메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 |
public static Free ( |
||
aPtr | IntPtr returned by native code which is documented as requiring explicit destruction | |
리턴 | void |
public SetCurrentSubnet ( |
||
aSubnet | Handle returned by SubnetAt() | |
리턴 | void |
public static SetDebugLevel ( DebugLevel aLevel ) : void | ||
aLevel | DebugLevel | Bit(s) specifying which debug levels to enable |
리턴 | void |
public StartCombined ( uint aSubnet ) : |
||
aSubnet | uint | |
리턴 |
public StartCp ( uint aSubnet ) : |
||
aSubnet | uint | |
리턴 |