GetUserInterfaceIdiom() public static méthode

public static GetUserInterfaceIdiom ( ) : int
Résultat int
    void Start()
    {
        if (Everyplay.GetUserInterfaceIdiom() == (int)Everyplay.UserInterfaceIdiom.iPad)
        {
            Everyplay.FaceCamSetPreviewSideWidth(iPadPreviewSideWidth);
            Everyplay.FaceCamSetPreviewBorderWidth(iPadPreviewBorderWidth);
            Everyplay.FaceCamSetPreviewPositionX(iPadPreviewPositionX);
            Everyplay.FaceCamSetPreviewPositionY(iPadPreviewPositionY);
        }
        else
        {
            Everyplay.FaceCamSetPreviewSideWidth(iPhonePreviewSideWidth);
            Everyplay.FaceCamSetPreviewBorderWidth(iPhonePreviewBorderWidth);
            Everyplay.FaceCamSetPreviewPositionX(iPhonePreviewPositionX);
            Everyplay.FaceCamSetPreviewPositionY(iPhonePreviewPositionY);
        }

        Everyplay.FaceCamSetPreviewBorderColor(previewBorderColor.r, previewBorderColor.g, previewBorderColor.b, previewBorderColor.a);
        Everyplay.FaceCamSetPreviewOrigin(previewOrigin);
        Everyplay.FaceCamSetPreviewScaleRetina(previewScaleRetina);
        Everyplay.FaceCamSetPreviewVisible(previewVisible);

        Everyplay.FaceCamSetAudioOnly(audioOnly);
    }
 public int GetUserInterfaceIdiom()
 {
     return(Everyplay.GetUserInterfaceIdiom());
 }