コード例 #1
0
 /// <summary>
 /// Create a new MREC.
 /// </summary>
 /// <param name="adUnitIdentifier">Ad unit identifier of the MREC to create</param>
 /// <param name="mrecPosition">MREC position</param>
 public static void CreateMRec(string adUnitIdentifier, AdViewPosition mrecPosition)
 {
     ValidateAdUnitIdentifier(adUnitIdentifier, "create MREC");
     _MaxCreateMRec(adUnitIdentifier, mrecPosition.ToSnakeCaseString());
 }
コード例 #2
0
 /// <summary>
 /// Updates the position of the MREC to the new position provided.
 /// </summary>
 /// <param name="adUnitIdentifier">The ad unit identifier of the MREC for which to update the position</param>
 /// <param name="mrecPosition">A new position for the MREC</param>
 public static void UpdateMRecPosition(string adUnitIdentifier, AdViewPosition mrecPosition)
 {
     ValidateAdUnitIdentifier(adUnitIdentifier, "update MREC position");
     _MaxUpdateMRecPosition(adUnitIdentifier, mrecPosition.ToSnakeCaseString());
 }
コード例 #3
0
 /// <summary>
 /// Updates the position of the MREC to the new position provided.
 /// </summary>
 /// <param name="adUnitIdentifier">The ad unit identifier of the MREC for which to update the position</param>
 /// <param name="mrecPosition">A new position for the MREC</param>
 public static void UpdateMRecPosition(string adUnitIdentifier, AdViewPosition mrecPosition)
 {
     ValidateAdUnitIdentifier(adUnitIdentifier, "update MREC position");
     MaxUnityPluginClass.CallStatic("updateMRecPosition", adUnitIdentifier, mrecPosition.ToSnakeCaseString());
 }