31 lines
1.2 KiB
Java
31 lines
1.2 KiB
Java
|
package com.discord.widgets.friends;
|
||
|
|
||
|
import com.google.android.gms.nearby.messages.Message;
|
||
|
import com.google.android.gms.nearby.messages.MessageListener;
|
||
|
/* compiled from: NearbyManager.kt */
|
||
|
public final class NearbyManager$setupListener$1 extends MessageListener {
|
||
|
public final /* synthetic */ NearbyManager this$0;
|
||
|
|
||
|
public NearbyManager$setupListener$1(NearbyManager nearbyManager) {
|
||
|
this.this$0 = nearbyManager;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.nearby.messages.MessageListener
|
||
|
public void onFound(Message message) {
|
||
|
Long access$parseUserId;
|
||
|
super.onFound(message);
|
||
|
if (message != null && (access$parseUserId = NearbyManager.access$parseUserId(this.this$0, message)) != null) {
|
||
|
NearbyManager.access$foundUserId(this.this$0, access$parseUserId.longValue());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.nearby.messages.MessageListener
|
||
|
public void onLost(Message message) {
|
||
|
Long access$parseUserId;
|
||
|
super.onLost(message);
|
||
|
if (message != null && (access$parseUserId = NearbyManager.access$parseUserId(this.this$0, message)) != null) {
|
||
|
NearbyManager.access$lostUserId(this.this$0, access$parseUserId.longValue());
|
||
|
}
|
||
|
}
|
||
|
}
|