public static boolean canPresentShareDialog(Context context,ShareDialogFeature... features){
  return handleCanPresent(context,EnumSet.of(ShareDialogFeature.SHARE_DIALOG,features));
}

public static boolean canPresentShareDialog ( Context context , ShareDialogFeature ... features ) { return handleCanPresent ( context , EnumSet . of ( ShareDialogFeature . SHARE_DIALOG , features ) ) ; }
determines whether the version of the facebook application installed on the user ' s device is recent enough to support specific features of the native share dialog , which in turn may be used to determine which ui , etc . , to present to the user .
