Class LauncherApiMediaBase
- Namespace
- Hi3Helper.Plugin.Core.Management.Api
- Assembly
- Hi3Helper.Plugin.Core.dll
[GeneratedComClass]
[ComExposedClass<ComClassInformation>]
public abstract class LauncherApiMediaBase : LauncherApiBase, ILauncherApiMedia, ILauncherApi, IInitializableTask, IFree
- Inheritance
-
LauncherApiMediaBase
- Implements
- Inherited Members
Methods
GetBackgroundEntries(out nint, out int, out bool, out bool)
Get the background image's URL entries for the launcher.
This method returns a handle to the PluginDisposableMemory<T> of LauncherPathEntry.
Pass this method to ToManagedSpan<T>(MarshalToMemorySelectorDelegate) to get the span.
public abstract void GetBackgroundEntries(out nint handle, out int count, out bool isDisposable, out bool isAllocated)
Parameters
handlenintThe handle to the LauncherPathEntry struct
countintHow much data is available from the
handleisDisposableboolWhether if the handle can be freed or not
isAllocatedbooltrueif it's not empty. Otherwise,false
GetBackgroundFlag(out LauncherBackgroundFlag)
Gets the current background flag, which indicates the type and source of the launcher background.
public abstract void GetBackgroundFlag(out LauncherBackgroundFlag result)
Parameters
resultLauncherBackgroundFlagA LauncherBackgroundFlag value which representing the type (image, image sequence, video) and source (file, zip) of the background.
Remarks
This method returns a LauncherBackgroundFlag value via result which representing the type (image, image sequence, video) and source (file, zip) of the background.
GetBackgroundSpriteFps(out float)
Gets the background sprite FPS (frames per second) for the launcher background image sequence.
public virtual void GetBackgroundSpriteFps(out float result)
Parameters
resultfloatFrames per second for the sprites to cycle. Returns 0 if the background image is static.
GetLogoFlag(out LauncherBackgroundFlag)
Gets the current logo flag, which indicates the type and source of the logo.
public abstract void GetLogoFlag(out LauncherBackgroundFlag result)
Parameters
resultLauncherBackgroundFlagA LauncherBackgroundFlag value which representing the type (image, image sequence, video) and source (file, zip) of the logo.
Remarks
This method returns a LauncherBackgroundFlag value via resultwhich representing the type (image, image sequence, video) and source (file, zip) of the logo.
GetLogoOverlayEntries(out nint, out int, out bool, out bool)
Gets the logo overlay's URL entries for the launcher.
This method returns a handle to the PluginDisposableMemory<T> of LauncherPathEntry.
Pass this method to ToManagedSpan<T>(MarshalToMemorySelectorDelegate) to get the span.
public abstract void GetLogoOverlayEntries(out nint handle, out int count, out bool isDisposable, out bool isAllocated)
Parameters
handlenintThe handle to the LauncherPathEntry struct
countintHow much data is available from the
handleisDisposableboolWhether if the handle can be freed or not
isAllocatedbooltrueif it's not empty. Otherwise,false