Class CrossPlatformId
Generic cross-platform identifier for ad resources.
Inheritance
System.Object
CrossPlatformId
Assembly: cs.temp.dll.dll
[Serializable]
public class CrossPlatformId
Constructors
Declaration
public CrossPlatformId(string iOSId, string androidId)
Parameters
Type |
Name |
Description |
System.String |
iOSId |
|
System.String |
androidId |
|
Fields
Declaration
protected string mAndroidId
Field Value
Type |
Description |
System.String |
|
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
Gets the ad ID for Android platform.
Declaration
public virtual string AndroidId { get; }
Property Value
Type |
Description |
System.String |
The android identifier.
|
Gets the ad ID corresponding to the current platform.
Returns string.Empty
if no ID was defined for this platform.
Declaration
public virtual string Id { get; }
Property Value
Type |
Description |
System.String |
The identifier.
|
Gets the ad ID for iOS platform.
Declaration
public virtual string IosId { get; }
Property Value
Type |
Description |
System.String |
The ios identifier.
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(CrossPlatformId a, CrossPlatformId b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(CrossPlatformId a, CrossPlatformId b)
Parameters
Returns
Type |
Description |
System.Boolean |
|