HyprUserProfileData
HYPR SDK for Android: HYPR Adapter Reference
Interface HyprUserProfileData
-
- All Superinterfaces:
- java.io.Serializable
public interface HyprUserProfileData extends java.io.Serializable
-
-
Method Summary
All Methods Modifier and Type Method and Description HyprMachineProfileData
getCurHyprMachineProfileData()
Call to get the Current Machine Profile Data Object.java.lang.String
getCurHyprMachineProfileDataDbId()
Call to get the Current Machine Profile DB ID.java.lang.String
getDbId()
Call to get the Current User Profile DB ID.java.lang.String
getFidoUserName()
Call to get the FIDO User Name of the User Profile.HyprMachineProfileData
getHyprMachineProfileDataByDbId(java.lang.String dbId)
Call to get a Machine Profile Data Object by passed in DB ID.java.util.List<HyprMachineProfileData>
getHyprMachineProfileDatas()
Call to get the list of Machine Profile Data Objects.java.lang.String
getUserProfileName()
Call to get the name of the User Profile.void
setCurHyprMachineProfileDataByDbId(android.content.Context context, java.lang.String machineProfileDbId)
Call to set the Current Machine Profile Data by passed in DB ID.void
setFidoUserName(android.content.Context context, java.lang.String fidoUserName)
Call to change the FIDO User Name of the User Profile to the passed in name.void
setUserProfileName(android.content.Context context, java.lang.String userProfileName)
Call to change the name of the User Profile to the passed in name.
-
-
-
Method Detail
-
getDbId
@NonNull java.lang.String getDbId()
Call to get the Current User Profile DB ID.
- Returns:
- User Profile Data DB ID
-
setUserProfileName
void setUserProfileName(@NonNull android.content.Context context, @NonNull java.lang.String userProfileName)
Call to change the name of the User Profile to the passed in name.
- Parameters:
context
- ContextuserProfileName
- User Profile Name- Throws:
HyprException
- Exception thrown on failure
-
getUserProfileName
@NonNull java.lang.String getUserProfileName()
Call to get the name of the User Profile.
- Returns:
- User Profile Name
-
setFidoUserName
void setFidoUserName(@NonNull android.content.Context context, @NonNull java.lang.String fidoUserName)
Call to change the FIDO User Name of the User Profile to the passed in name.
- Parameters:
context
- ContextfidoUserName
- FIDO User Name
-
getFidoUserName
@NonNull java.lang.String getFidoUserName()
Call to get the FIDO User Name of the User Profile.
- Returns:
- Fido User Name
-
getHyprMachineProfileDatas
@NonNull java.util.List<HyprMachineProfileData> getHyprMachineProfileDatas()
Call to get the list of Machine Profile Data Objects.
- Returns:
- Machine Profile Data Objects
-
getHyprMachineProfileDataByDbId
@NonNull HyprMachineProfileData getHyprMachineProfileDataByDbId(@NonNull java.lang.String dbId) throws HyprException
Call to get a Machine Profile Data Object by passed in DB ID.
- Returns:
- Machine Profile Data
- Throws:
HyprException
- Exception thrown on failure
-
getCurHyprMachineProfileData
@Nullable HyprMachineProfileData getCurHyprMachineProfileData() throws HyprException
Call to get the Current Machine Profile Data Object.
- Returns:
- Current Machine Profile Data
- Throws:
HyprException
- Exception thrown on failure
-
setCurHyprMachineProfileDataByDbId
void setCurHyprMachineProfileDataByDbId(@NonNull android.content.Context context, @NonNull java.lang.String machineProfileDbId) throws HyprException
Call to set the Current Machine Profile Data by passed in DB ID.
- Parameters:
context
- ContextmachineProfileDbId
- Machine Profile DB ID- Throws:
HyprException
- Exception thrown on failure
-
getCurHyprMachineProfileDataDbId
@NonNull java.lang.String getCurHyprMachineProfileDataDbId() throws HyprException
Call to get the Current Machine Profile DB ID.
- Returns:
- Current Machine Profile DB ID, empty string if no machine set.
- Throws:
HyprException
- Exception thrown on failure
-
-
Updated about 1 month ago