setProviderChangedListener

연동된 Provider 의 정보가 바뀌었는지 통보 받는다.
It set a listener to be notified whether the information of the linked Provider has changed.


korean

Google Play Games, Apple Game Center 의 경우 앱 외에서 계정 정보가 변경 될 수 있다.
그렇기 때문에 앱이 resume (onStart) 될 때 유저 정보가 바뀌었는지 체크하게 되고,
바뀌었다면 해당 콜백이 불리게 된다.

콜백은 checkProvider() 이후나 connect 등으로 직접 연동 시도 된 이후부터 동작하게 된다.

묵시적 사인-인 방식으로 구현할 경우 signIn() 완료 시점에서 checkProvider() 를 통해 직접 비교 체크 하여야 한다.


english

For Google Play Games and Apple Game Center, account information may be changed outside of the app.
That's why it checks to see if the user information has changed when the app resumes (onStart),
and if so, the callback is called.

Callbacks will work after checkProvider() or attempting to connect directly with connect().

If you implement implicit sign-in, you need to check directly with checkProvider () at the completion of signIn().

Parameters

listener

onDeviceProviderInfo