নেস্টেড ক্লাস |
---|
enum | UserInfo.UserType বহিরাগত API-এ ব্যবহারকারীর প্রকারের সমর্থিত রূপ। |
পাবলিক কনস্ট্রাক্টর |
---|
UserInfo (int userId, String userName, int flag, boolean isRunning) |
ধ্রুবক
FLAGS_NOT_SECONDARY
public static final int FLAGS_NOT_SECONDARY
ধ্রুবক মান: 45 (0x0000002d)
FLAG_EPHEMERAL
public static final int FLAG_EPHEMERAL
ধ্রুবক মান: 256 (0x00000100)
FLAG_GUEST
public static final int FLAG_GUEST
ধ্রুবক মান: 4 (0x00000004)
FLAG_MANAGED_PROFILE
public static final int FLAG_MANAGED_PROFILE
ধ্রুবক মান: 32 (0x00000020)
FLAG_PRIMARY
public static final int FLAG_PRIMARY
ধ্রুবক মান: 1 (0x00000001)
FLAG_RESTRICTED
public static final int FLAG_RESTRICTED
ধ্রুবক মান: 8 (0x00000008)
USER_SYSTEM
public static final int USER_SYSTEM
ধ্রুবক মান: 0 (0x00000000)
পাবলিক কনস্ট্রাক্টর
ব্যবহারকারীর তথ্য
public UserInfo (int userId,
String userName,
int flag,
boolean isRunning)
পরামিতি |
---|
userId | int |
userName | String |
flag | int |
isRunning | boolean |
পাবলিক পদ্ধতি
ক্ষণস্থায়ী
public boolean isEphemeral ()
অতিথি
public boolean isGuest ()
isManagedProfile
public boolean isManagedProfile ()
প্রাথমিক
public boolean isPrimary ()
চলছে
public boolean isRunning ()
মাধ্যমিক
public boolean isSecondary ()
issystem
public boolean isSystem ()
isUserType
public boolean isUserType (UserInfo.UserType userType,
int currentUserId)
এই উদাহরণটি নির্দিষ্ট ধরণের কিনা তা ফেরত দিন।
পরামিতি |
---|
userType | UserInfo.UserType |
currentUserId | int |
ব্যবহারকারী আইডি
public int userId ()
ব্যবহারকারীর নাম
public String userName ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"এতে আমার প্রয়োজনীয় তথ্য নেই"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"খুব জটিল / অনেক ধাপ"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"পুরনো"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"অনুবাদ সংক্রান্ত সমস্যা"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"নমুনা / কোড সংক্রান্ত সমস্যা"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"অন্যান্য"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"সহজে বোঝা যায়"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"আমার সমস্যার সমাধান হয়েছে"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"অন্যান্য"
}]