Interface IDeviceIdentifiers
- Namespace
- Homa.Sdk.Foundation
- Assembly
- Homa.Sdk.Foundation.dll
Access device identifiers.
public interface IDeviceIdentifiers
Properties
Active
Currently active implementation of IDeviceIdentifiers
public static IDeviceIdentifiers Active { get; }
Property Value
AdvertisingIdentifier
Represents the advertising identifier of the device. On iOS, it is the IDFA, on Android it is the GAID.
string AdvertisingIdentifier { get; }
Property Value
AreLoaded
True if AdvertisingIdentifier and VendorIdentifier were loaded, otherwise false.
bool AreLoaded { get; }
Property Value
- See Also
VendorIdentifier
Represents the vendor identifier of the device. On iOS, it is the IDFV, on Android it is the ASID. This value is not influenced by tracking content settings of the device.
string VendorIdentifier { get; }
Property Value
Methods
LoadAsync()
Loads AdvertisingIdentifier and VendorIdentifier.
Task LoadAsync()
Returns
Remarks
Makes native calls to fetch the identifiers, but can be called off the main thread.