/// <summary> /// Retrieves the AndroidJavaObject PropellerSDKNotificationType equivalent to the given NotificationType /// </summary> /// <returns> /// The AndroidJavaObject PropellerSDKNotificationType equivalent to the given notification type, null otherwise /// </returns> /// <param name='notificationType'> /// The notification type whose equivalent will be retrieved /// </param> private static AndroidJavaObject getFuelSDKOrientationType(FuelSDK.ContentOrientation orientation) { string orientationTypeValue = orientation.ToString(); AndroidJavaClass fuelSDKNotificationTypeClass = new AndroidJavaClass("com.fuelpowered.lib.fuelsdk.fuelorientationtype"); return(fuelSDKNotificationTypeClass.CallStatic <AndroidJavaObject>("findByValue", orientationTypeValue)); }
public override void SetOrientationUIIgnite(FuelSDK.ContentOrientation orientation) { AndroidJavaObject fuelSDKOrientationType = getFuelSDKOrientationType(orientation); if (fuelSDKOrientationType == null) { FuelSDKCommon.Log(FuelSDKCommon.LogLevel.ERROR, "invalid orientation type"); } m_jniFuelSDKUnity.CallStatic("setOrientationuiIgnite", fuelSDKOrientationType); }
public override void SetOrientationUIIgnite(FuelSDK.ContentOrientation orientation) { iOSSetOrientationuiIgnite(orientation.ToString()); }
public override void SetOrientationUIIgnite(FuelSDK.ContentOrientation orientation) { }
public abstract void SetOrientationUIIgnite(FuelSDK.ContentOrientation orientation);