Esempio n. 1
0
 /*!
  *  @brief Present the panel for notifications / feedback in a specific style
  *  @since 2.0
  *
  *  @note Use this method for an easy way to present the Notification Wall. It'll use the window to display, and handle itself so you don't have anything to do except for calling the presentation method.
  *
  *  @param content The default parameter (AFSDKPanelContentDefault) displays the Notification Wall. But if you choose to only display the feedback form (AFSDKPanelContentFeedbackOnly), the Notification Wall will be hidden.
  *  @param style The panel can displayed in a modal fashion over your application (AFSDKPanelStyleDefault) or in full screen (AFSDKPanelStyleFullscreen).
  *
  *  @return Returns false if a problem occures when trying to present the panel.
  */
 public static bool PresentPanelForContentAndStyle(AFSDKPanelContent content, AFSDKPanelStyle style)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         return(afsdk_presentPanelForContentAndStyle(content, style));
     }
     return(false);
 }
Esempio n. 2
0
 private static extern bool afsdk_presentPanelForContentAndStyle(AFSDKPanelContent content, AFSDKPanelStyle style);