@Deprecated public final class NFCCommunicationFragment extends NFCCommReaderFragment implements SignatureNotification
Modifier and Type | Class and Description |
---|---|
(package private) class |
NFCCommunicationFragment.EventHandler
Deprecated.
Class to handle graphical events.
|
NFCCommReaderFragment.FinalTaskListener, NFCCommReaderFragment.NFCCommReaderFragmentListener
androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
SignatureNotification.sign_callback_notify
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
Deprecated.
|
_finalTaskListener, _notification, _parentActivity, _preLoadKeyStore, _readerListener, CAN_ARGUMENT_KEY_STRING, ERROR_PIN_LOCKED, KEYSTORETYPE_ARGUMENT_KEY_STRING
Constructor and Description |
---|
NFCCommunicationFragment()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
doNotify(SignatureNotification.sign_callback_notify notify)
Deprecated.
Notification callback about the signature process
|
void |
HandleError(java.lang.String title,
java.lang.String msg)
Deprecated.
Show error in the graphic interface.
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
Deprecated.
Called to have the fragment instantiate its user interface view.
|
void |
onDetach()
Deprecated.
Called when the fragment is no longer attached to its activity.
|
void |
setDialog(ProgressDialogUI progressDialog,
boolean defaultMessages)
Deprecated.
Custom progress dialog and disables internal progress bar.
|
void |
setDialog(ProgressDialogUI progressDialog,
boolean defaultMessages,
boolean internalMessages)
Deprecated.
Custom progress dialog and disables internal progress bar.
|
void |
setProgressBarEnabled(boolean enabled)
Deprecated.
Enable or disable internal progress bar.
|
void |
setTextColor(int color)
Deprecated.
Set text color for internal interface.
|
void |
setTextColor(java.lang.String color)
Deprecated.
Set text color for internal interface.
|
void |
setTextTypeFace(android.graphics.Typeface typeFace)
Deprecated.
Set resource TypeFace for text components.
|
void |
showTextMessages(boolean enabled)
Deprecated.
Enable or disable showing default messages.
|
void |
updateInfo(NFCCommReaderFragment.NFCCommReaderFragmentListener.NFC_callback_notify notify)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Function that handle all the events included in NFCCommunicationFragmentWUI.NFCCommFragmentNotifyListener interface,
to manage the graphical interface of the fragment.
|
getKeyStore, onCreate, onResume, onTagDiscovered, setActivity, setFinalTask, setReaderListener, setSignatureNotification
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, 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, unregisterForContextMenu
protected static Logger logger
public android.view.View onCreateView(@NotNull android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
androidx.fragment.app.Fragment
Fragment.onCreate(Bundle)
and Fragment.onViewCreated(View, Bundle)
.
A default View can be returned by calling Fragment(int)
in your
constructor. Otherwise, this method returns null.
It is recommended to only inflate the layout in this method and move
logic that operates on the returned View to Fragment.onViewCreated(View, Bundle)
.
If you return a View from here, you will later be called in
Fragment.onDestroyView()
when the view is being released.
onCreateView
in class androidx.fragment.app.Fragment
inflater
- The LayoutInflater object that can be used to inflate
any views in the fragment,container
- If non-null, this is the parent view that the fragment's
UI should be attached to. The fragment should not add the view itself,
but this can be used to generate the LayoutParams of the view.savedInstanceState
- If non-null, this fragment is being re-constructed
from a previous saved state as given here.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 setDialog(ProgressDialogUI progressDialog, boolean defaultMessages)
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 showTextMessages(boolean enabled)
enabled
- enable or disable.public void onDetach()
androidx.fragment.app.Fragment
Fragment.onDestroy()
.onDetach
in class NFCCommReaderFragment
public void HandleError(java.lang.String title, java.lang.String msg)
title
- title to show.msg
- error description to show.public void setTextColor(java.lang.String color)
color
- string name of the color.public void setTextColor(int color)
color
- int value in the form 0xAARRGGBB.public void setTextTypeFace(android.graphics.Typeface typeFace)
typeFace
- typeFace instance.public void doNotify(SignatureNotification.sign_callback_notify notify)
SignatureNotification
doNotify
in interface SignatureNotification
notify
- type of event notificationpublic 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.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)
notify
- type of event.