Glass 체험판 버전 SDK는 지원 중단되었습니다. 이 문서는 이전 참고 자료로 남아 있습니다.
Slider.GracePeriod
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
timeInMs에 주어진 유예 기간 동안 왼쪽에서 오른쪽으로 애니메이션된 후 적절한 콜백을 실행한 후 자체적으로 닫는 슬라이더입니다.
유예 기간이 만료되거나 취소될 때까지 계속 표시됩니다.
사용 예시는 다음과 같습니다.
GracePeriod slider = Slider.from(view).startGracePeriod(listener);
// animates for timeInMs milliseconds and then dismisses itself,
// unless slider.cancel() is called in the meanwhile
공개 메서드
public
추상
void
취소
()
유예 기간을 취소합니다. 유예 기간 동안 호출되면 유예 기간을 닫습니다. 유예 기간이 이미 정상적으로 완료된 경우 아무 조치도 취하지 않습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-02-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":"기타"
}]