Class MobilePatchingLibrary
Mobile Patching Library
Inherited Members
Namespace: UE4.MobilePatchingUtils
Assembly: UE4DotNet.dll
Syntax
public class MobilePatchingLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static MobilePatchingLibrary DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| MobilePatchingLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
Methods
| Improve this Doc View SourceGetActiveDeviceProfileName()
Get the name of currently selected device profile name
Declaration
public static string GetActiveDeviceProfileName()
Returns
| Type | Description |
|---|---|
| System.String |
GetInstalledContent(String)
Get the installed content.
Declaration
public static MobileInstalledContent GetInstalledContent(string InstallDirectory)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | InstallDirectory |
Returns
| Type | Description |
|---|---|
| MobileInstalledContent |
Remarks
Will return non-null object if there is an installed content at specified directory User can choose to mount installed content into the game
GetSupportedPlatformNames()
Get the list of supported platform names on this device. Example: Android_ETC2, Android_ASTC
Declaration
public static IReadOnlyCollection<string> GetSupportedPlatformNames()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyCollection<System.String> |
HasActiveWiFiConnection()
Whether WiFi connection is currently available
Declaration
public static bool HasActiveWiFiConnection()
Returns
| Type | Description |
|---|---|
| System.Boolean |
New(UObject, Name)
Spawn an object of this class
Declaration
public static MobilePatchingLibrary New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| MobilePatchingLibrary |
RequestContent(String, String, String, Byte, Byte)
Attempt to download manifest file using specified manifest URL.
Declaration
public static void RequestContent(string RemoteManifestURL, string CloudURL, string InstallDirectory, byte OnSucceeded, byte OnFailed)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | RemoteManifestURL | |
| System.String | CloudURL | |
| System.String | InstallDirectory | |
| System.Byte | OnSucceeded | |
| System.Byte | OnFailed |
Remarks
On success it will return an object that represents remote content. This object can be queried for additional information, like total content size, download size, etc. User can choose to download and install remote content. @param RemoteManifestURL : URL from where manifest file can be downloaded. (http://my-server.com/awesomecontent.manifest) @param CloudURL : URL from where content chunk data can be downloaded. (http://my-server.com/awesomecontent/clouddir) @param InstallDirectory: Relative directory to where downloaded content should be installed (MyContent/AwesomeContent) @param OnSucceeded: Callback on manifest download success. Will return object that represents remote content @param OnFailed: Callback on manifest download fail. Will return error message text and error integer code
Operators
| Improve this Doc View SourceImplicit(IntPtr to MobilePatchingLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator MobilePatchingLibrary(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| MobilePatchingLibrary |