/// <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));
    }
Exemple #2
0
 public override void SetOrientationUIIgnite(FuelSDK.ContentOrientation orientation)
 {
     iOSSetOrientationuiIgnite(orientation.ToString());
 }