public final class NFCCommunicationFragment extends NFCCommReaderFragment implements SignatureNotification
NFCCommReaderFragment.FinalTaskListener, NFCCommReaderFragment.NFCCommReaderFragmentListenerandroid.app.Fragment.InstantiationException, android.app.Fragment.SavedStateSignatureNotification.sign_callback_notifyCAN_ARGUMENT_KEY_STRING, ERROR_PIN_LOCKED, KEYSTORETYPE_ARGUMENT_KEY_STRING, PRELOADKEYSTORE_ARGUMENT_KEY_STRING| Constructor and Description |
|---|
NFCCommunicationFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
doNotify(SignatureNotification.sign_callback_notify notify,
java.lang.String msg)
Notification callback about the signature process
|
void |
HandleError(java.lang.String title,
java.lang.String msg)
Show error in the graphic interface.
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDetach() |
void |
setDialog(ProgressDialogUI progressDialog,
boolean defaultMessages)
Custom progress dialog and disables internal progress bar.
|
void |
setDialog(ProgressDialogUI progressDialog,
boolean defaultMessages,
boolean internalMessages)
Custom progress dialog and disables internal progress bar.
|
void |
setProgressBarEnabled(boolean enabled)
Enable or disable internal progress bar.
|
void |
setTextColor(int color)
Set text color for internal interface.
|
void |
setTextColor(java.lang.String color)
Set text color for internal interface.
|
void |
setTextTypeFace(android.graphics.Typeface typeFace)
Set resource TypeFace for text components.
|
void |
showTextMessages(boolean enabled)
Enable or disable showing default messages.
|
void |
updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify)
Function that handle all the events included in NFCCommunicationFragmentWUI.NFCCommFragmentNotifyListener interface,
to manage the graphical interface of the fragment.
|
void |
updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify,
java.lang.String msg)
Function that handle all the events included in NFCCommunicationFragmentWUI.NFCCommFragmentNotifyListener interface,
to manage the graphical interface of the fragment.
|
void |
updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify,
java.lang.String title,
java.lang.String msg)
Function that handle all the events included in NFCCommunicationFragmentWUI.NFCCommFragmentNotifyListener interface,
to manage the graphical interface of the fragment.
|
getKeyStore, onCreate, onDestroy, onResume, onTagDiscovered, setFinalTask, setSignatureNotificationdump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onSaveInstanceState, onStart, onStop, onTrimMemory, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenupublic void doNotify(SignatureNotification.sign_callback_notify notify, java.lang.String msg)
SignatureNotificationdoNotify in interface SignatureNotificationnotify - type of event notificationmsg - additional information of the event (may be null)public void HandleError(java.lang.String title,
java.lang.String msg)
title - title to show.msg - error description to show.public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
onCreateView in class android.app.Fragmentpublic void onDetach()
onDetach in class NFCCommReaderFragmentpublic void setDialog(ProgressDialogUI progressDialog, boolean defaultMessages)
progressDialog - instance of progress dialog.defaultMessages - if internal messages must be shown in the progress dialog.public void setDialog(ProgressDialogUI progressDialog, boolean defaultMessages, boolean internalMessages)
progressDialog - instance of progress dialog.defaultMessages - if internal messages must be shown in the progress dialog.public void setProgressBarEnabled(boolean enabled)
enabled - enable or disable.public void setTextColor(int color)
color - int value in the form 0xAARRGGBB.public void setTextColor(java.lang.String color)
color - string name of the color.public void setTextTypeFace(android.graphics.Typeface typeFace)
typeFace - typeFace instance.public void showTextMessages(boolean enabled)
enabled - enable or disable.public void updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify)
notify - type of event.public void updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify, java.lang.String msg)
notify - type of event.msg - information received.public void updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify, java.lang.String title, java.lang.String msg)
notify - type of event.title - information received.msg - information received.