本文整理匯總了Java中net.dv8tion.jda.core.managers.Presence類的典型用法代碼示例。如果您正苦於以下問題:Java Presence類的具體用法?Java Presence怎麽用?Java Presence使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Presence類屬於net.dv8tion.jda.core.managers包,在下文中一共展示了Presence類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getPresence
import net.dv8tion.jda.core.managers.Presence; //導入依賴的package包/類
@Override
default Presence getPresence() {
throw new UnsupportedOperationException();
}
示例2: getPresence
import net.dv8tion.jda.core.managers.Presence; //導入依賴的package包/類
@Override
public Presence getPresence()
{
return presence;
}
示例3: getPresence
import net.dv8tion.jda.core.managers.Presence; //導入依賴的package包/類
/**
* The {@link net.dv8tion.jda.core.managers.Presence Presence} controller for the current session.
* <br>Used to set {@link net.dv8tion.jda.core.entities.Game} and {@link net.dv8tion.jda.core.OnlineStatus} information.
*
* @return The never-null {@link net.dv8tion.jda.core.managers.Presence Presence} for this session.
*/
Presence getPresence();