Hardware module
Это содержимое пока не доступно на вашем языке.
Identifier
Section titled “Identifier”Enum: AffiseModules.Hardware (Runtime/Modules/AffiseModules.cs:24). The PascalCase wire name "Hardware" is returned by AffiseModules.Module() (Runtime/Modules/AffiseModules.cs:48).
Purpose
Section titled “Purpose”Collects device and hardware identifiers. In 1.7.18 these 19 providers moved from the core SDK into this module (CHANGELOG.md:15-33).
Platform notes
Section titled “Platform notes”- Available on Android and iOS.
- Android: native package
com.affise:module-hardware(README Android modules tableREADME.md:283, gradleREADME.md:304). - iOS: CocoaPods subspec
AffiseModule/Hardware(README iOS modules tableREADME.md:332, PodfileREADME.md:352). - Enabled by default on both platforms in the editor dependency settings (
Editor/Resources/AffiseModules.json:64-80,enabled: truefor Android and iOS, version1.7.18). Per the README, modules are updated automatically on build and need no manual editing.
C# class
Section titled “C# class”internal sealed class HardwareModule : AffiseModuleNamespace: AffiseAttributionLib.Module.Hardware. Declared at Runtime/Module/Hardware/HardwareModule.cs:10. The class is internal. There’s no Affise.Module.Hardware API: the module has no public methods. You can reference it only through the AffiseModules.Hardware enum, for example in SetDisableModules(...) or Affise.Module.GetStatus(...).
Affise.Module.GetStatus(AffiseModules.Hardware, response => { // handle response});Providers contributed
Section titled “Providers contributed”From README §Hardware (README.md:866-886):
USER_AGENTCPU_TYPECPU_CORESDEVICEBUILDDEVICE_NAMESCREEN_WIDTHSCREEN_HEIGHTDENSITYHARDWARE_NAMEDEVICE_TYPEOS_VERSIONOS_AND_VERSIONMCCODEMNCODETIMEZONE_DEVLANGUAGECOUNTRYREGION
The same list is registered in HardwareModule.Start() (Runtime/Module/Hardware/HardwareModule.cs:22-43). See Device info for the full provider map.