Class LauncherApiNewsBase
- Namespace
- Hi3Helper.Plugin.Core.Management.Api
- Assembly
- Hi3Helper.Plugin.Core.dll
[GeneratedComClass]
[ComExposedClass<ComClassInformation>]
public abstract class LauncherApiNewsBase : LauncherApiBase, ILauncherApiNews, ILauncherApi, IInitializableTask, IFree
- Inheritance
-
LauncherApiNewsBase
- Implements
- Inherited Members
Methods
GetCarouselEntries(out nint, out int, out bool, out bool)
Get the carousel image entries for the launcher.
This method returns a handle to the PluginDisposableMemory<T> of LauncherCarouselEntry.
Pass this method to ToManagedSpan<T>(MarshalToMemorySelectorDelegate) to get the span.
public abstract void GetCarouselEntries(out nint handle, out int count, out bool isDisposable, out bool isAllocated)
Parameters
handlenintThe handle to the pointer of the LauncherCarouselEntry data
countintHow much data of LauncherCarouselEntry inside of the handle
isDisposableboolWhether the handle is disposable
isAllocatedbooltrueif it's not empty. Otherwise,false
GetNewsEntries(out nint, out int, out bool, out bool)
Get the news entries fot the launcher.
This method returns a handle to the PluginDisposableMemory<T> of LauncherNewsEntry.
Pass this method to ToManagedSpan<T>(MarshalToMemorySelectorDelegate) to get the span.
public abstract void GetNewsEntries(out nint handle, out int count, out bool isDisposable, out bool isAllocated)
Parameters
handlenintThe handle to the pointer of the LauncherNewsEntry data
countintHow much data of LauncherNewsEntry inside of the handle
isDisposableboolWhether the handle is disposable
isAllocatedbooltrueif it's not empty. Otherwise,false
GetSocialMediaEntries(out nint, out int, out bool, out bool)
Get the social media info entries for the launcher.
This method returns a handle to the PluginDisposableMemory<T> of LauncherSocialMediaEntry.
Pass this method to ToManagedSpan<T>(MarshalToMemorySelectorDelegate) to get the span.
public abstract void GetSocialMediaEntries(out nint handle, out int count, out bool isDisposable, out bool isAllocated)
Parameters
handlenintThe handle to the pointer of the LauncherSocialMediaEntry data
countintHow much data of LauncherSocialMediaEntry inside of the handle
isDisposableboolWhether the handle is disposable
isAllocatedbooltrueif it's not empty. Otherwise,false